Skip to content

Function: updateWorkflows() ​

ts
function updateWorkflows(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  statuses?: object[];
  taskId?: string | null;
  workflows?: object[];
}>;

Defined in: src/cloud/api/workflows.ts:1017

Update workflows and related statuses.

Permissions required:

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

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ statuses?: object[]; workflows?: object[]; }-
parameters.statuses?object[]The statuses to associate with the workflows.
parameters.workflows?object[]The details of the workflows to update.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; statuses?: object[]; taskId?: string | null; workflows?: object[]; }>