Get Default Workflow

GET {{baseUrl}}/rest/api/3/workflowscheme/:id/default?returnDraftIfExists=false

Returns the default workflow for a workflow scheme. The default workflow is the workflow that is assigned any issue types that have not been mapped to any other workflow. The default workflow has All Unassigned Issue Types listed in its issue types for the workflow scheme in Jira.

Permissions required: Administer Jira global permission.

Request Params

KeyDatatypeRequiredDescription
returnDraftIfExistsbooleanSet to true to return the default workflow for the workflow scheme's draft rather than scheme itself. If the workflow scheme does not have a draft, then the default workflow for the workflow scheme is returned.

RESPONSES

status: OK

{"workflow":"jira"}