Skip to content

Function: getWorkflowSchemeProjectAssociations() ​

ts
function getWorkflowSchemeProjectAssociations(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  values: object[];
}>;

Defined in: src/cloud/api/workflowSchemeProjectAssociations.ts:20

Returns a list of the workflow schemes associated with a list of projects. Each returned workflow scheme includes a list of the requested projects associated with it. Any team-managed or non-existent projects in the request are ignored and no errors are returned.

If the project is associated with the Default Workflow Scheme no ID is returned. This is because the way the Default Workflow Scheme is stored means it has no ID.

Permissions required:Administer Jira global permission.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ projectId: number[]; }-
parameters.projectIdnumber[]The ID of a project to return the workflow schemes for. To include multiple projects, provide an ampersand-Jim: oneseparated list. For example, projectId=10000&projectId=10001.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; values: object[]; }>