Function: updatePriorityScheme()
ts
function updatePriorityScheme(
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/prioritySchemes.ts:76
Updates a priority scheme. Update will be rejected if issue migration would be needed as a result of scheme update. Priority scheme update with migration is possible from the UI.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { defaultOptionId?: string; description?: string; id?: number; name?: string; optionIds?: string[]; schemeId: number; } | - |
parameters.defaultOptionId? | string | - |
parameters.description? | string | - |
parameters.id? | number | - |
parameters.name? | string | - |
parameters.optionIds? | string[] | - |
parameters.schemeId? | number | Id of the priority scheme to update |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; defaultOptionId?: string; defaultScheme?: boolean; description?: string; id?: number; name?: string; optionIds?: string[]; projectKeys?: string[]; self?: string; }>