Workflow schemes
Switch workflow scheme for project
Switches a workflow scheme for a project.
Workflow schemes can only be assigned to classic projects.
Calculating required mappings: If statuses from the current workflow scheme won't exist in the target workflow scheme, you must provide mappingsByIssueTypeOverride to specify how issues with those statuses should be migrated. Use the required workflow scheme mappings API to determine which statuses and issue types require mappings.
Permissions required: Administer Jira global permission.
post/rest/api/2/workflowscheme/project/switch
Request body
Example request
{
"projectId": "10001",
"targetSchemeId": "10002"
}