OptionaldefaultMapping?: booleanWhether the workflow is the default workflow for the workflow scheme.
The ID of the workflow scheme.
OptionalissueTypes?: string[]The list of issue type IDs.
OptionalupdateDraftIfNeeded?: booleanWhether 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.
Optionalworkflow?: stringThe name of the workflow. Optional if updating the workflow-issue types mapping.
The name of the workflow.
Optionaloptions: RequestOptions
Sets the issue types for a workflow in a workflow scheme. The workflow can also be set as the default workflow for the workflow scheme. Unmapped issues types are mapped to the default workflow.
Note that active workflow schemes cannot be edited. If the workflow scheme is active, set
updateDraftIfNeededtotruein the request body and a draft workflow scheme is created or updated with the new workflow-issue types mappings. The draft workflow scheme can be published in Jira.Permissions required: Administer Jira global permission.