Skip to content

Function: assignSchemeToProject() ​

ts
function assignSchemeToProject(
   client, 
   parameters, 
   options?
): Promise<void>;

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

Assigns a workflow scheme to a project. This operation is performed only when there are no issues in the project.

Workflow schemes can only be assigned to classic projects.

Permissions required:Administer Jira global permission.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ projectId: string; workflowSchemeId?: string; }-
parameters.projectIdstringThe ID of the project.
parameters.workflowSchemeId?stringThe ID of the workflow scheme. If the workflow scheme ID is null, the operation assigns the default workflow scheme.
options?RequestOptions-

Returns ​

Promise<void>