jira.js
    Preparing search index...

    Function getGroupsStats

    • Returns group stats for the organization.

      Parameters

      • client: Client
      • parameters: { directoryId: string; orgId: string }
        • directoryId: string

          Unique ID associated with a directory. The - character can be used to increase the operation scope to all directories the requestor has permission to manage.

        • orgId: string

          Your organization has a unique ID. Find this ID in your Atlassian Administration URL or when you create your API key.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              totals?: {
                  all?: number;
                  managed?: number;
                  synced?: number;
                  [key: string]: unknown;
              };
              types?: {
                  count?: number;
                  type?: string & {}
                  | "USERBASE_GROUP"
                  | "TEAM"
                  | "GROUP";
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >