jira.js
    Preparing search index...

    Function findSchemas

    • Resource to find object schemas in Assets

      Parameters

      • client: Client
      • Optionalparameters: { includeCounts?: boolean; maxResults?: number; startAt?: number }
        • OptionalincludeCounts?: boolean

          Should the object and object type count for schema be included in the response. If this parameter is false, object and object type count will return 0.

        • OptionalmaxResults?: number

          The maximum number of objects to return in this page of results. Actual number of results may be less, for example, if the last page of results is returned.

        • OptionalstartAt?: number

          The starting index for the next page of results

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              isLast?: boolean;
              last?: boolean;
              maxResults: number;
              startAt: number;
              total: number;
              values: {
                  canManage?: boolean;
                  created: Date;
                  description?: string;
                  globalId: string;
                  id: string;
                  name: string;
                  objectCount: number;
                  objectSchemaKey: string;
                  objectTypeCount: number;
                  status?: string;
                  updated: Date;
                  workspaceId: string;
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >