Skip to content

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 ​

ParameterTypeDescription
clientClient-
parameters{ issueTypeSchemeId: string; projectId: string; }-
parameters.issueTypeSchemeIdstringThe ID of the issue type scheme.
parameters.projectId?stringThe ID of the project.
options?RequestOptions-

Returns ​

Promise<void>