Skip to content

Function: getAssignedPriorityScheme() ​

ts
function getAssignedPriorityScheme(
   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:716

Gets a full representation of a priority scheme in JSON format used by specified project. User must be global administrator or project administrator. 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; }-
parameters.projectKeyOrIdstringKey or id of the project
options?RequestOptions-

Returns ​

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