jira.js
    Preparing search index...

    Function findSchemaObjectTypesFlat

    • Find all object types for this object schema

      Parameters

      • client: Client
      • parameters: { exclude?: string; id: string; includeObjectCounts?: boolean; query?: boolean }
        • Optionalexclude?: string

          Exclude objects with this name

        • id: string

          The object schema id

        • OptionalincludeObjectCounts?: boolean

          If true, the objectCount attribute is populated for each object type

        • Optionalquery?: boolean

          Object Type Names to search for

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              abstractObjectType: boolean;
              created: Date;
              description?: string;
              globalId: string;
              icon: {
                  id: string;
                  name: string;
                  url16: string;
                  url48: string;
                  [key: string]: unknown;
              };
              id: string;
              inherited: boolean;
              name: string;
              objectCount: number;
              objectSchemaId: string;
              parentObjectTypeId?: number;
              parentObjectTypeInherited: boolean;
              position: number;
              type?: number;
              updated: Date;
              workspaceId: string;
              [key: string]: unknown;
          }[],
      >