jira.js
    Preparing search index...

    Function putBulk

    • Updates the ApplicationRoles with the passed data if the version hash is the same as the server. Only the groups and default groups setting of the role may be updated. Requests to change the key or the name of the role will be silently ignored. It is acceptable to pass only the roles that are updated as roles that are present in the server but not in data to update with, will not be deleted.

      Parameters

      • client: Client
      • parameters: {
            body?: {
                defaultGroups?: string[];
                defined?: boolean;
                groups?: string[];
                hasUnlimitedSeats?: boolean;
                key?: string;
                name?: string;
                numberOfSeats?: number;
                platform?: boolean;
                remainingSeats?: number;
                selectedByDefault?: boolean;
                userCount?: number;
                userCountDescription?: string;
                [key: string]: unknown;
            }[];
            "If-Match"?: string;
        }
      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              defaultGroups?: string[];
              defined?: boolean;
              groups?: string[];
              hasUnlimitedSeats?: boolean;
              key?: string;
              name?: string;
              numberOfSeats?: number;
              platform?: boolean;
              remainingSeats?: number;
              selectedByDefault?: boolean;
              userCount?: number;
              userCountDescription?: string;
              [key: string]: unknown;
          }[],
      >