v4

latestOpenAPI 3.0.1Apache 2.02026-08-016169702.3 MB
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/3/workflowscheme/project/switch

Request body

projectIdstring

The ID of the project to switch the workflow scheme for

targetSchemeIdstring

The ID of the target workflow scheme to switch to

Example request

{
  "projectId": "10001",
  "targetSchemeId": "10002"
}