Update a draft workflow scheme
Update a draft workflow scheme. The draft will created if necessary. The body of the request is a representation of the workflow scheme. Values not passed are assumed to indicate no change for that field.
PUT
/api/2/workflowscheme/{id}/draftPath parameters
idinteger<int64>requiredThe id of the parent scheme.
Request body
requiredapplication/jsonThe body of the request is a representation of the workflow scheme. Values not passed are assumed to indicate no change for that field.
defaultWorkflowstringdescriptionstringdraftbooleanidinteger<int64>issueTypeMappingsobjectissueTypesobjectlastModifiedstringlastModifiedUserUserBeanShow propertiesHide properties
activebooleanapplicationRolesSimpleListWrapperApplicationRoleBeanShow propertiesHide properties
callbackListWrapperCallbackApplicationRoleBeanmaxResultsinteger<int32>pagingCallbackListWrapperCallbackApplicationRoleBeansizeinteger<int32>avatarUrlsobjectdeletedbooleandisplayNamestringemailAddressstringexpandstringgroupsSimpleListWrapperGroupJsonBeanShow propertiesHide properties
callbackListWrapperCallbackGroupJsonBeanmaxResultsinteger<int32>pagingCallbackListWrapperCallbackGroupJsonBeansizeinteger<int32>keystringlastLoginTimestringlocalestringnamestringselfstring<uri>timeZonestringnamestringoriginalDefaultWorkflowstringoriginalIssueTypeMappingsobjectselfstring<uri>updateDraftIfNeededbooleanResponses
200
The updated/created scheme.
defaultWorkflowstringdescriptionstringdraftbooleanidinteger<int64>issueTypeMappingsobjectissueTypesobjectlastModifiedstringlastModifiedUserUserBeanShow propertiesHide properties
activebooleanapplicationRolesSimpleListWrapperApplicationRoleBeanShow propertiesHide properties
callbackListWrapperCallbackApplicationRoleBeanmaxResultsinteger<int32>pagingCallbackListWrapperCallbackApplicationRoleBeansizeinteger<int32>avatarUrlsobjectdeletedbooleandisplayNamestringemailAddressstringexpandstringgroupsSimpleListWrapperGroupJsonBeanShow propertiesHide properties
callbackListWrapperCallbackGroupJsonBeanmaxResultsinteger<int32>pagingCallbackListWrapperCallbackGroupJsonBeansizeinteger<int32>keystringlastLoginTimestringlocalestringnamestringselfstring<uri>timeZonestringnamestringoriginalDefaultWorkflowstringoriginalIssueTypeMappingsobjectselfstring<uri>updateDraftIfNeededboolean401
Returned if there is no user or if the user has not entered a websudo session.
404
Returned if the requested scheme does not exist.