provider Workflow schemes GET
/rest/api/3/workflowscheme/{id}/workflow @utdk/jira
/rest/api/3/workflowscheme/{id}/workflow Get issue types for workflows in workflow scheme
Returns the workflow-issue type mappings for a workflow scheme.
**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
- id path required
- The ID of the workflow scheme.
- integer
- workflowName query
- The name of a workflow in the scheme. Limits the results to the workflow-issue type mapping for the specified workflow.
- string
- returnDraftIfExists query
- Returns the mapping from the workflow scheme's draft rather than the workflow scheme, if set to true. If no draft exists, the mapping from the workflow scheme is returned.
- boolean
Try it
Authentication
Configure credentials for The Jira Cloud platform REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import jira from '@utdk/jira';
await jira.getworkflow({
"returnDraftIfExists": false
})