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
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { projectId: string; workflowSchemeId?: string; } | - |
parameters.projectId | string | The ID of the project. |
parameters.workflowSchemeId? | string | The ID of the workflow scheme. If the workflow scheme ID is null, the operation assigns the default workflow scheme. |
options? | RequestOptions | - |
Returns
Promise<void>