Create a draft for a workflow scheme
Create a draft for the passed scheme. The draft will be a copy of the state of the parent.
POST
/api/2/workflowscheme/{id}/createdraftPath parameters
idinteger<int64>requiredThe id of the parent scheme.
Responses
201
The newly 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.