jira.js
    Preparing search index...

    Function getIssueTypeMappingsForContexts

    • Returns a paginated list of context to issue type mappings for a custom field. Mappings are returned for all contexts or a list of contexts. Mappings are ordered first by context ID and then by issue type ID.

      Permissions required: Administer Jira global permission.

      Parameters

      • client: Client
      • parameters: { contextId?: number[]; fieldId: string; maxResults?: number; startAt?: number }
        • OptionalcontextId?: number[]

          The ID of the context. To include multiple contexts, provide an ampersand-separated list. For example, contextId=10001&contextId=10002.

        • fieldId: string

          The ID of the custom field.

        • OptionalmaxResults?: number

          The maximum number of items to return per page.

        • OptionalstartAt?: number

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

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              isLast: boolean;
              maxResults: number;
              nextPage?: string;
              self?: string;
              startAt: number;
              total: number;
              values: {
                  contextId: string;
                  isAnyIssueType?: boolean;
                  issueTypeId?: string;
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >