provider Workflow scheme drafts GET /rest/api/3/workflowscheme/{id}/draft/workflow
@utdk/jira /rest/api/3/workflowscheme/{id}/draft/workflow
Get issue types for workflows in draft workflow scheme
Returns the workflow-issue type mappings for a workflow scheme's draft. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
id path required
The ID of the workflow scheme that the draft belongs to.
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

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.

getdraftworkflow
GET/rest/api/3/workflowscheme/{id}/draft/workflow
Returns the workflow-issue type mappings for a workflow scheme's draft. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).

Parameters

required

The ID of the workflow scheme that the draft belongs to.

The name of a workflow in the scheme. Limits the results to the workflow-issue type mapping for the specified workflow.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import jira from '@utdk/jira';

await jira.getdraftworkflow()