Update default workflow for a draft scheme
Set the default workflow for the passed draft workflow scheme.
PUT
/api/2/workflowscheme/{id}/draft/defaultPath parameters
idinteger<int64>requiredThe id of the parent scheme.
Request body
requiredapplication/jsonThe new default.
updateDraftIfNeededbooleanworkflowstringResponses
200
Returned on success.
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 scheme does not exist.