Returns the issue type-workflow mapping for an issue type in a workflow scheme's draft.Permissions required:Administer Jiraglobal permission.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'http://jira.local:8080/jira/rest//rest/api/3/workflowscheme//draft/issuetype/'
Response Response Example
200 - Success
{"issueType":"10000","workflow":"jira"}
Request
Path Params
id
integerÂ
required
The ID of the workflow scheme that the draft belongs to.
issueType
stringÂ
required
The ID of the issue type.
Responses
🟢200Returned if the request is successful.
application/json
Body
Details about the mapping between an issue type and a workflow.
issueType
stringÂ
optional
The ID of the issue type. Not required if updating the issue type-workflow mapping.
updateDraftIfNeeded
booleanÂ
optional
Set to true to create or update the draft of a workflow scheme and update the mapping in the draft, when the workflow scheme cannot be edited. Defaults to false. Only applicable when updating the workflow-issue types mapping.
workflow
stringÂ
optional
The name of the workflow.
🟠401Returned if the authentication credentials are incorrect or missing.
🟠403Returned if the user does not have the necessary permission.
🟠404Returned if the workflow scheme or issue type is not found.