Delete Workflow For Issue Type In Workflow Scheme

DELETE {{baseUrl}}/rest/api/3/workflowscheme/:id/issuetype/:issueType?updateDraftIfNeeded=<boolean>

Deletes the issue type-workflow mapping for an issue type in a workflow scheme.

Note that active workflow schemes cannot be edited. If the workflow scheme is active, set updateDraftIfNeeded to true and a draft workflow scheme is created or updated with the issue type-workflow mapping deleted. The draft workflow scheme can be published in Jira.

Permissions required: Administer Jira global permission.

Request Params

KeyDatatypeRequiredDescription
updateDraftIfNeededstringSet to true to create or update the draft of a workflow scheme and update the mapping in the draft, when the workflow scheme cannot be edited. Defaults to false.

RESPONSES

status: OK

{&quot;id&quot;:101010,&quot;name&quot;:&quot;Example workflow scheme&quot;,&quot;description&quot;:&quot;The description of the example workflow scheme.&quot;,&quot;defaultWorkflow&quot;:&quot;jira&quot;,&quot;issueTypeMappings&quot;:{&quot;10000&quot;:&quot;scrum workflow&quot;,&quot;10001&quot;:&quot;builds workflow&quot;},&quot;draft&quot;:false,&quot;self&quot;:&quot;https://your-domain.atlassian.net/rest/api/3/workflowscheme/101010&quot;}