Delete Default Workflow

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

Resets the default workflow for a workflow scheme. That is, the default workflow is set to Jira's system workflow (the jira workflow).

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 default workflow reset. 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 delete the mapping from 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;}