Set an issue type mapping for a draft scheme
Set the issue type mapping for the passed draft scheme. The passed representation can have its updateDraftIfNeeded flag set to true to indicate that the draft should be created/updated when the actual scheme cannot be edited.
PUT
/api/2/workflowscheme/{id}/draft/issuetype/{issueType}Path parameters
issueTypestringrequiredThe issue type being set.
idinteger<int64>requiredThe id of the parent scheme.
Request body
requiredapplication/jsonThe new mapping for the issue type.
issueTypestringupdateDraftIfNeededbooleanworkflowstringResponses
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 either the requested scheme or issue type does not exist.