provider Avatars GET /rest/api/3/universal_avatar/view/type/{type}/owner/{entityId}
@utdk/jira /rest/api/3/universal_avatar/view/type/{type}/owner/{entityId}
Get avatar image by owner
Returns the avatar image for a project, issue type or priority. 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
entityId path required
The ID of the project or issue type the avatar belongs to.
string
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.

getavatarimagebyowner
GET/rest/api/3/universal_avatar/view/type/{type}/owner/{entityId}
Returns the avatar image for a project, issue type or priority. 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 project or issue type the avatar belongs to.

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.getavatarimagebyowner()