provider Workflow scheme drafts PUT
/rest/api/3/workflowscheme/{id}/draft/workflow @utdk/jira
/rest/api/3/workflowscheme/{id}/draft/workflow Set issue types for workflow in workflow scheme
Sets the issue types for a workflow in a workflow scheme's draft. The workflow can also be set as the default workflow for the draft workflow scheme. Unmapped issues types are mapped to the default workflow.
**[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 required
- The name of the 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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import jira from '@utdk/jira';
await jira.updatedraftworkflowmapping()