jira.js
    Preparing search index...

    Function getScreensForField

    • Returns a paginated list of the screens a field is used in.

      Permissions required: Administer Jira global permission.

      Parameters

      • client: Client
      • parameters: {
            expand?: string | string[] | string & {} | (string & {} | "tab")[];
            fieldId: string;
            maxResults?: number;
            startAt?: number;
        }
        • Optionalexpand?: string | string[] | string & {} | (string & {} | "tab")[]

          Use expand to include additional information about screens in the response. This parameter accepts tab which returns details about the screen tabs the field is used in.

        • fieldId: string

          The ID of the field to return screens for.

        • 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: {
                  description?: string;
                  id?: number;
                  name?: string;
                  scope?: {
                      project?: {
                          avatarUrls?: {
                              "16x16"?: (...)
                              | (...);
                              "24x24"?: (...) | (...);
                              "32x32"?: (...) | (...);
                              "48x48"?: (...) | (...);
                              [key: string]: unknown;
                          };
                          id?: string;
                          key?: string;
                          name?: string;
                          projectCategory?: {
                              description?: (...)
                              | (...);
                              id?: (...) | (...);
                              name?: (...) | (...);
                              self?: (...) | (...);
                              [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;
                  };
                  tab?: { id?: number; name: string; [key: string]: unknown };
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >