The name of a workflow in the scheme. Limits the results to the workflow-issue type mapping for the specified workflow.
returnDraftIfExists
stringÂ
optional
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.
Responses
🟢200Returned if the request is successful.
application/json
Body
Details about the mapping between issue types and a workflow.
defaultMapping
booleanÂ
optional
Whether the workflow is the default workflow for the workflow scheme.
issueTypes
array[string]
optional
The list of issue type IDs.
updateDraftIfNeeded
booleanÂ
optional
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
stringÂ
optional
The name of the workflow. Optional if updating the workflow-issue types mapping.
🟠401Returned if the authentication credentials are incorrect or missing.
🟠403Returned if the user does not have the necessary permission.
🟠404Returned if either the workflow scheme or workflow is not found.