jira.js
    Preparing search index...

    Function getAvatarImageByOwner

    • Returns the avatar image for a project, issue type or priority.

      This operation can be accessed anonymously.

      Permissions required:

      • For system avatars, none.
      • For custom project avatars, Browse projects project permission for the project the avatar belongs to.
      • For custom issue type avatars, Browse projects project permission for at least one project the issue type is used in.
      • For priority avatars, none.

      Parameters

      • client: Client
      • parameters: {
            entityId: string;
            format?: "svg" | string & {} | "png";
            size?: "small" | "medium" | string & {} | "xsmall" | "large" | "xlarge";
            type: "priority" | string & {} | "project" | "issuetype";
        }
        • entityId: string

          The ID of the project or issue type the avatar belongs to.

        • Optionalformat?: "svg" | string & {} | "png"

          The format to return the avatar image in. If not provided the original content format is returned.

        • Optionalsize?: "small" | "medium" | string & {} | "xsmall" | "large" | "xlarge"

          The size of the avatar image. If not provided the default size is returned.

        • type: "priority" | string & {} | "project" | "issuetype"

          The icon type of the avatar.

      • Optionaloptions: RequestOptions

      Returns Promise<Blob>