jira.js
    Preparing search index...

    Function getAlternativeIssueTypes

    • Returns a list of issue types that can be used to replace the issue type. The alternative issue types are those assigned to the same workflow scheme, field configuration scheme, and screen scheme.

      This operation can be accessed anonymously.

      Permissions required: None.

      Parameters

      • client: Client
      • parameters: { id: string }
        • id: string

          The ID of the issue type.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              avatarId?: number;
              description?: string;
              entityId?: string;
              hierarchyLevel?: number;
              iconUrl?: string;
              id?: string;
              name?: string;
              scope?: {
                  project?: {
                      avatarUrls?: {
                          "16x16"?: string;
                          "24x24"?: string;
                          "32x32"?: string;
                          "48x48"?: string;
                          [key: string]: unknown;
                      };
                      id?: string;
                      key?: string;
                      name?: string;
                      projectCategory?: {
                          description?: string;
                          id?: string;
                          name?: string;
                          self?: string;
                          [key: string]: unknown;
                      };
                      projectTypeKey?: | string & {}
                      | "software"
                      | "service_desk"
                      | "business"
                      | "product_discovery"
                      | "customer_service";
                      self?: string;
                      simplified?: boolean;
                      [key: string]: unknown;
                  };
                  type?: string & {}
                  | "PROJECT"
                  | "TEMPLATE";
                  [key: string]: unknown;
              };
              self?: string;
              subtask?: boolean;
              untranslatedName?: string;
              [key: string]: unknown;
          }[],
      >