getDraftDefaultWorkflow method
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 Jira global permission.
Implementation
Future<DefaultWorkflow> getDraftDefaultWorkflow(int id) async {
return DefaultWorkflow.fromJson(await _client.send(
'get',
'rest/api/3/workflowscheme/{id}/draft/default',
pathParameters: {
'id': '$id',
},
));
}