jira.js
    Preparing search index...

    Function getCreateIssueMetaIssueTypeId

    • Returns a page of field metadata for a specified project and issuetype id. 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: {
            issueTypeId: string;
            maxResults?: number;
            projectIdOrKey: string;
            startAt?: number;
        }
        • issueTypeId: string

          The issuetype ID.

        • 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<
          {
              fields?: {
                  allowedValues?: unknown[];
                  autoCompleteUrl?: string;
                  configuration?: Record<string, any>;
                  defaultValue?: unknown;
                  fieldId: string;
                  hasDefaultValue?: boolean;
                  key: string;
                  name: string;
                  operations: string[];
                  required: boolean;
                  schema?: {
                      configuration?: Record<string, any>;
                      custom?: string;
                      customId?: number;
                      items?: string;
                      system?: string;
                      type: string;
                      [key: string]: unknown;
                  };
                  [key: string]: unknown;
              }[];
              maxResults?: number;
              results?: {
                  allowedValues?: unknown[];
                  autoCompleteUrl?: string;
                  configuration?: Record<string, any>;
                  defaultValue?: unknown;
                  fieldId: string;
                  hasDefaultValue?: boolean;
                  key: string;
                  name: string;
                  operations: string[];
                  required: boolean;
                  schema?: {
                      configuration?: Record<string, any>;
                      custom?: string;
                      customId?: number;
                      items?: string;
                      system?: string;
                      type: string;
                      [key: string]: unknown;
                  };
                  [key: string]: unknown;
              }[];
              startAt?: number;
              total?: number;
              [key: string]: unknown;
          },
      >