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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"id":101010,"name":"Example workflow scheme","description":"The description of the example workflow scheme.","defaultWorkflow":"jira","issueTypeMappings":{"10000":"scrum workflow","10001":"builds workflow"},"draft":false,"self":"https://your-domain.atlassian.net/rest/api/3/workflowscheme/101010"}