v4

latestOpenAPI 3.0.1Apache 2.02026-08-016079122.3 MB
Workflow schemes

Get default workflow

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.

get/rest/api/2/workflowscheme/{id}/default

Path parameters

idinteger required

The ID of the workflow scheme.

Query parameters

returnDraftIfExistsboolean

Set 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.

Response

Returned if the request is successful.

updateDraftIfNeededboolean

Whether a draft workflow scheme is created or updated when updating an active workflow scheme. The draft is updated with the new default workflow. Defaults to false.

workflowstring required

The name of the workflow to set as the default workflow.