provider Avatars GET /rest/api/3/universal_avatar/view/type/{type}/avatar/{id}
@utdk/jira /rest/api/3/universal_avatar/view/type/{type}/avatar/{id}
Get avatar image by ID
Returns a project, issue type or priority avatar image by ID. This operation can be accessed anonymously. **[Permissions](#permissions) required:** * For system avatars, none. * For custom project avatars, *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project the avatar belongs to. * For custom issue type avatars, *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for at least one project the issue type is used in. * For priority avatars, none.
type path required
The icon type of the avatar.
enum: issuetype, project, priority
id path required
The ID of the avatar.
integer
size query
The size of the avatar image. If not provided the default size is returned.
enum: xsmall, small, medium, large…
format query
The format to return the avatar image in. If not provided the original content format is returned.
enum: png, svg

Try it

Authentication
Configure credentials for The Jira Cloud platform REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getavatarimagebyid
GET/rest/api/3/universal_avatar/view/type/{type}/avatar/{id}
Returns a project, issue type or priority avatar image by ID. This operation can be accessed anonymously. **[Permissions](#permissions) required:** * For system avatars, none. * For custom project avatars, *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project the avatar belongs to. * For custom issue type avatars, *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for at least one project the issue type is used in. * For priority avatars, none.

Parameters

required

The icon type of the avatar.

required

The ID of the avatar.

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

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

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import jira from '@utdk/jira';

await jira.getavatarimagebyid()