Skip to content

Function: unassignPriorityScheme() ​

ts
function unassignPriorityScheme(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  defaultOptionId?: string;
  defaultScheme?: boolean;
  description?: string;
  id?: number;
  name?: string;
  optionIds?: string[];
  projectKeys?: string[];
  self?: string;
}>;

Defined in: src/server/api/projects.ts:760

Unassigns project from priority scheme. Operation will fail for defualt priority scheme, project is not found or project is not associated with provided priority scheme. All project keys associated with the priority scheme will only be returned if additional query parameter is provided expand=projectKeys.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ projectKeyOrId: string; schemeId: number; }-
parameters.projectKeyOrIdstringKey or id of the project
parameters.schemeId?numberObject that contains an id of the scheme
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; defaultOptionId?: string; defaultScheme?: boolean; description?: string; id?: number; name?: string; optionIds?: string[]; projectKeys?: string[]; self?: string; }>