jira.js
    Preparing search index...

    Function getCreateIssueMetaIssueTypes

    • Returns a page of issue type metadata for a specified project. Use the information to populate the requests in Create issue and Create issues.

      This operation can be accessed anonymously.

      Permissions required: Create issues project permission in the requested projects.

      Parameters

      • client: Client
      • parameters: { maxResults?: number; projectIdOrKey: string; startAt?: number }
        • OptionalmaxResults?: number

          The maximum number of items to return per page.

        • projectIdOrKey: string

          The ID or key of the project.

        • OptionalstartAt?: number

          The index of the first item to return in a page of results (page offset).

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              createMetaIssueType?: {
                  avatarId?: number;
                  description?: string;
                  entityId?: string;
                  expand?: string;
                  fields?: Record<string, any>;
                  hierarchyLevel?: number;
                  iconUrl?: string;
                  id?: string;
                  name?: string;
                  scope?: {
                      project?: {
                          avatarUrls?: {
                              "16x16"?: ...;
                              "24x24"?: ...;
                              "32x32"?: ...;
                              "48x48"?: ...;
                              [key: ...]: ...;
                          };
                          id?: string;
                          key?: string;
                          name?: string;
                          projectCategory?: {
                              description?: ...;
                              id?: ...;
                              name?: ...;
                              self?: ...;
                              [key: ...]: ...;
                          };
                          projectTypeKey?: | (...) & (...)
                          | "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;
                  [key: string]: unknown;
              }[];
              issueTypes?: {
                  avatarId?: number;
                  description?: string;
                  entityId?: string;
                  expand?: string;
                  fields?: Record<string, any>;
                  hierarchyLevel?: number;
                  iconUrl?: string;
                  id?: string;
                  name?: string;
                  scope?: {
                      project?: {
                          avatarUrls?: {
                              "16x16"?: ...;
                              "24x24"?: ...;
                              "32x32"?: ...;
                              "48x48"?: ...;
                              [key: ...]: ...;
                          };
                          id?: string;
                          key?: string;
                          name?: string;
                          projectCategory?: {
                              description?: ...;
                              id?: ...;
                              name?: ...;
                              self?: ...;
                              [key: ...]: ...;
                          };
                          projectTypeKey?: | (...) & (...)
                          | "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;
                  [key: string]: unknown;
              }[];
              maxResults?: number;
              startAt?: number;
              total?: number;
              [key: string]: unknown;
          },
      >