jira.js
    Preparing search index...

    Function reorderIssueTypesInIssueTypeScheme

    • 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 required: Administer Jira global permission.

      Parameters

      • client: Client
      • parameters: {
            after?: string;
            issueTypeIds: string[];
            issueTypeSchemeId: number;
            position?: string & {} | "First" | "Last";
        }
        • Optionalafter?: string

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

        • 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.

        • issueTypeSchemeId: number

          The ID of the issue type scheme.

        • Optionalposition?: string & {} | "First" | "Last"

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

      • Optionaloptions: RequestOptions

      Returns Promise<void>