Function: reorderIssueTypesInIssueTypeScheme()
ts
function reorderIssueTypesInIssueTypeScheme(
client,
parameters,
options?
): Promise<void>;Defined in: src/cloud/api/issueTypeSchemes.ts:262
Changes the order of issue types in an issue type scheme.
The request body parameters must meet the following requirements:
- All of the issue types must belong to the issue type scheme.
- Either
afterorpositionmust be provided. - The issue type in
aftermust not be in the issue type list.
Permissions required:Administer Jira global permission.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { after?: string; issueTypeIds: string[]; issueTypeSchemeId: number; position?: string & object | "First" | "Last"; } | - |
parameters.after? | string | The ID of the issue type to place the moved issue types after. Required if position isn't provided. |
parameters.issueTypeIds? | string[] | A list of the issue type IDs to move. The order of the issue type IDs in the list is the order they are given after the move. |
parameters.issueTypeSchemeId? | number | The ID of the issue type scheme. |
parameters.position? | string & object | "First" | "Last" | The position the issue types should be moved to. Required if after isn't provided. |
options? | RequestOptions | - |
Returns
Promise<void>