Function: assignIssueTypeSchemeToProject()
ts
function assignIssueTypeSchemeToProject(
client,
parameters,
options?
): Promise<void>;Defined in: src/cloud/api/issueTypeSchemes.ts:149
Assigns an issue type scheme to a project.
If any issues in the project are assigned issue types not present in the new scheme, the operation will fail. To complete the assignment those issues must be updated to use issue types in the new scheme.
Issue type schemes can only be assigned to classic projects.
Permissions required:Administer Jira global permission.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { issueTypeSchemeId: string; projectId: string; } | - |
parameters.issueTypeSchemeId | string | The ID of the issue type scheme. |
parameters.projectId? | string | The ID of the project. |
options? | RequestOptions | - |
Returns
Promise<void>