validateCreateWorkflows method

Future<WorkflowValidationErrorList> validateCreateWorkflows({
  1. required WorkflowCreateValidateRequest body,
})

Validate the payload for bulk create workflows.

Permissions required:

  • Administer Jira project permission to create all, including global-scoped, workflows
  • Administer projects project permissions to create project-scoped workflows

Implementation

Future<WorkflowValidationErrorList> validateCreateWorkflows(
    {required WorkflowCreateValidateRequest body}) async {
  return WorkflowValidationErrorList.fromJson(await _client.send(
    'post',
    'rest/api/3/workflows/create/validation',
    body: body.toJson(),
  ));
}