createWorkflowScheme method

Future<WorkflowScheme> createWorkflowScheme({
  1. required WorkflowScheme body,
})

Creates a workflow scheme.

Permissions required: Administer Jira global permission.

Implementation

Future<WorkflowScheme> createWorkflowScheme(
    {required WorkflowScheme body}) async {
  return WorkflowScheme.fromJson(await _client.send(
    'post',
    'rest/api/3/workflowscheme',
    body: body.toJson(),
  ));
}