jira.js
    Preparing search index...

    Function getAvatarImageByID

    • Returns a project, issue type or priority avatar image by ID.

      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: {
            format?: "svg" | string & {} | "png";
            id: number;
            size?: "small" | "medium" | string & {} | "xsmall" | "large" | "xlarge";
            type: "priority" | string & {} | "project" | "issuetype";
        }
        • Optionalformat?: "svg" | string & {} | "png"

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

        • id: number

          The ID of the avatar.

        • 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>