action atlassian_get_draft_workflow { label: "Get issue types for workflows in draft workflow scheme" description: "Returns the workflow-issue type mappings for a workflow scheme's draft.\n\n**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg)." provider: atlassian method: GET path: "/rest/api/3/workflowscheme/{id}/draft/workflow" encoding: json input: { type: "object" properties: { id: { type: "integer" format: "int64" } workflowName: { type: "string" } } required: ["id"] additionalProperties: false } output: { type: "object" description: "Details about the mapping between issue types and a workflow." properties: { defaultMapping: { type: "boolean" description: "Whether the workflow is the default workflow for the workflow scheme." } issueTypes: { type: "array" description: "The list of issue type IDs." items: { type: "string" } } updateDraftIfNeeded: { type: "boolean" description: "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: { type: "string" description: "The name of the workflow. Optional if updating the workflow-issue types mapping." } } additionalProperties: false } }