provider Issue type schemes PUT /rest/api/3/issuetypescheme/{issueTypeSchemeId}/issuetype/move
@utdk/jira /rest/api/3/issuetypescheme/{issueTypeSchemeId}/issuetype/move
Change order of issue types
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 `after` or `position` must be provided. * the issue type in `after` must not be in the issue type list. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
issueTypeSchemeId path required
The ID of the issue type scheme.
integer

Try it

Authentication
Configure credentials for The Jira Cloud platform REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

reorderissuetypesinissuetypescheme
PUT/rest/api/3/issuetypescheme/{issueTypeSchemeId}/issuetype/move
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 `after` or `position` must be provided. * the issue type in `after` must not be in the issue type list. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).

Parameters

required

The ID of the issue type scheme.

Input

The ID of the issue type to place the moved issue types after. Required if `position` isn't provided.

required

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.

The position the issue types should be moved to. Required if `after` isn't provided.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import jira from '@utdk/jira';

await jira.reorderissuetypesinissuetypescheme()