Set an issue type mapping for a scheme
Set the issue type mapping for the passed 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}/issuetype/{issueType}Path parameters
issueTypestringrequiredThe issue type being set.
idinteger<int64>requiredThe id of the 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.