deleteDraftDefaultWorkflow method
Resets the default workflow for a workflow scheme's draft. That is, the default workflow is set to Jira's system workflow (the jira workflow).
Permissions required: Administer Jira global permission.
Implementation
Future<WorkflowScheme> deleteDraftDefaultWorkflow(int id) async {
return WorkflowScheme.fromJson(await _client.send(
'delete',
'rest/api/3/workflowscheme/{id}/draft/default',
pathParameters: {
'id': '$id',
},
));
}