Function: assignPriorityScheme()
ts
function assignPriorityScheme(
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:737
Assigns project with priority scheme. Priority scheme assign with migration is possible from the UI. Operation will fail if migration is needed as a result of operation eg. there are issues with priorities invalid in the destination scheme. All project keys associated with the priority scheme will only be returned if additional query parameter is provided expand=projectKeys.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { id?: number; projectKeyOrId: string; } | - |
parameters.id? | number | - |
parameters.projectKeyOrId? | string | Key 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; }>