getWorkflowScheme method
Returns a workflow scheme.
Permissions required: Administer Jira global permission.
Implementation
Future<WorkflowScheme> getWorkflowScheme(
{required int id, bool? returnDraftIfExists}) async {
return WorkflowScheme.fromJson(await _client.send(
'get',
'rest/api/3/workflowscheme/{id}',
pathParameters: {
'id': '$id',
},
queryParameters: {
if (returnDraftIfExists != null)
'returnDraftIfExists': '$returnDraftIfExists',
},
));
}