Returns the default workflow for a workflow scheme's draft. The default workflow is the workflow that is assigned any issue types that have not been mapped to any other workflow. The default workflow has All Unassigned Issue Types listed in its issue types for the workflow scheme in Jira.Permissions required:Administer Jiraglobal permission.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location-g--request GET 'http:///rest/api/3/workflowscheme//draft/default'
响应示例响应示例
200 - 成功示例
{"workflow":"jira"}
请求参数
Path 参数
返回响应
🟢200Returned if the request is successful.
application/json
Body
🟠401Returned if the authentication credentials are incorrect or missing.
🟠403Returned if the user does not have the necessary permission..
🟠404Returned if any of the following is true:
* The workflow scheme is not found.
* The workflow scheme does not have a draft.