jira.js
    Preparing search index...

    Function getIssueType

    • Returns an issue type.

      This operation can be accessed anonymously.

      Permissions required: Browse projects project permission in a project the issue type is associated with or Administer Jira global permission.

      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;
          },
      >