---
title: "Get issue types for workflows in workflow scheme"
method: GET
path: "/rest/api/3/workflowscheme/{id}/workflow"
tags: ["Workflow schemes"]
---

# Get issue types for workflows in workflow scheme

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

Returns the workflow-issue type mappings for a workflow scheme.

**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).

## Path parameters

- `id` integer, required

## Query parameters

- `workflowName` string
- `returnDraftIfExists` boolean

## Response `200`

Returned if the request is successful.

- IssueTypesWorkflowMapping — Details about the mapping between issue types and a workflow.
  - `defaultMapping` boolean — Whether the workflow is the default workflow for the workflow scheme.
  - `issueTypes` string[] — The list of issue type IDs.
  - `updateDraftIfNeeded` boolean — Whether a draft workflow scheme is created or updated when updating an active workflow scheme. The draft is updated with the new workflow-issue types mapping. Defaults to `false`.
  - `workflow` string — The name of the workflow. Optional if updating the workflow-issue types mapping.

## 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 either the workflow scheme or workflow 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)
