Workflow schemes
Set issue types for workflow in workflow scheme
Changed onSets the issue types for a workflow in a workflow scheme. The workflow can also be set as the default workflow for the workflow scheme. Unmapped issues types are mapped to the default workflow.
Note that active workflow schemes cannot be edited. If the workflow scheme is active, set updateDraftIfNeeded to true in the request body and a draft workflow scheme is created or updated with the new workflow-issue types mappings. The draft workflow scheme can be published in Jira.
Permissions required: Administer Jira global permission.
put/rest/api/2/workflowscheme/{id}/workflow
Request
- Base URL: https://your-domain.atlassian.net
- URL: https://your-domain.atlassian.net/rest/api/2/workflowscheme/{id}/workflow
- Auth: one of:
- HTTP basic
- OAuth 2 (authorization code, authorization URL https://auth.atlassian.com/authorize, token URL https://auth.atlassian.com/oauth/token, scopes: manage:jira-configuration)
Path parameters
idinteger required
The ID of the workflow scheme.
Query parameters
workflowNamestring required
The name of the workflow.
Request body
Response
Returned if the request is successful.
Changes
- warning
added the new
product_discoveryenum value to the////////////response property for the response status
- warning