---
title: "Get default workflow"
method: GET
path: "/rest/api/3/workflowscheme/{id}/default"
tags: ["Workflow schemes"]
---

# Get default workflow

`GET /rest/api/3/workflowscheme/{id}/default`

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](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).

## Path parameters

- `id` integer, required

## Query parameters

- `returnDraftIfExists` boolean

## Response `200`

Returned if the request is successful.

- DefaultWorkflow — Details about the default workflow.
  - `updateDraftIfNeeded` boolean — 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`.
  - `workflow` string, required — The name of the workflow to set as the default workflow.

## Other responses

- `401` — Returned if the authentication credentials are incorrect or missing.
- `403` — Returned if the user does not have the necessary permission.
- `404` — Returned if the workflow scheme is not found.

---

[API](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api-3.md) · [All operations](https://skmtc.dev/atlassian/apis/the-jira-cloud-platform-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/atlassian/the-jira-cloud-platform-rest-api-3/revisions/7b92e6a64584/schema)
