jira.js
    Preparing search index...

    Function getCreateIssueMetaFields

    • Returns the metadata for issue types used for creating issues. Data will not be returned if the user does not have permission to create issues in that project.

      Parameters

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

          Issue type id

        • OptionalmaxResults?: string

          How many results on the page should be included

        • projectIdOrKey: string

          Project id or key

        • OptionalstartAt?: string

          The page offset

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              isLast: boolean;
              maxResults: number;
              startAt: number;
              total?: number;
              values: {
                  allowedValues?: Record<string, any>[];
                  autoCompleteUrl?: string;
                  defaultValue?: Record<string, any>;
                  fieldId?: string;
                  hasDefaultValue?: boolean;
                  name?: string;
                  operations?: string[];
                  required?: boolean;
                  schema?: {
                      custom?: string;
                      customId?: number;
                      items?: string;
                      system?: string;
                      type?: string;
                      [key: string]: unknown;
                  };
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >