Update Workflow Scheme

PUT {{baseUrl}}/rest/api/3/workflowscheme/:id

Updates a workflow scheme, including the name, default workflow, issue type to project mappings, and more. If the workflow scheme is active (that is, being used by at least one project), then a draft workflow scheme is created or updated instead, provided that updateDraftIfNeeded is set to true.

Permissions required: Administer Jira global permission.

Request Body

{"name"=>"<string>", "description"=>"<string>", "defaultWorkflow"=>"<string>", "issueTypeMappings"=>"<object>", "updateDraftIfNeeded"=>"<boolean>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

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;}