curl --location --request GET 'http://jira.local:8080/jira/rest//rest/api/3/workflowscheme/'
{"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"}
schemeId
. For example, schemeId=10301.defaultWorkflow
is not specified when creating a workflow scheme, it is set to Jira Workflow (jira).updateDraftIfNeeded
set to true
: If a draft workflow scheme exists, it is updated. Otherwise, a draft workflow scheme is created.updateDraftIfNeeded
set to false
: An error is returned, as active workflow schemes cannot be updated.updateDraftIfNeeded
set to true
: The workflow scheme is updated, as inactive workflow schemes do not require drafts to update.false
.