jira.js
    Preparing search index...

    Function getAllProjectAvatars

    • Returns all avatars which are visible for the currently logged in user. The avatars are grouped into system and custom.

      Parameters

      • client: Client
      • parameters: { projectIdOrKey: string }
        • projectIdOrKey: string

          Project id or project key

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              custom?: {
                  fileName?: string;
                  id?: string;
                  isDeletable?: boolean;
                  isSelected?: boolean;
                  isSystemAvatar?: boolean;
                  owner?: string;
                  selected?: boolean;
                  urls?: Record<string, string>;
                  [key: string]: unknown;
              }[];
              system?: {
                  fileName?: string;
                  id?: string;
                  isDeletable?: boolean;
                  isSelected?: boolean;
                  isSystemAvatar?: boolean;
                  owner?: string;
                  selected?: boolean;
                  urls?: Record<string, string>;
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >