provider Avatars GET /rest/api/3/universal_avatar/type/{type}/owner/{entityId}
@utdk/jira /rest/api/3/universal_avatar/type/{type}/owner/{entityId}
Get avatars
Returns the system and custom avatars for a project, issue type or priority. This operation can be accessed anonymously. **[Permissions](#permissions) required:** * 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 system avatars, none. * for priority avatars, none.
type path required
The avatar type.
enum: project, issuetype, priority
entityId path required
The ID of the item the avatar is associated with.
string

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.

getavatars
GET/rest/api/3/universal_avatar/type/{type}/owner/{entityId}
Returns the system and custom avatars for a project, issue type or priority. This operation can be accessed anonymously. **[Permissions](#permissions) required:** * 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 system avatars, none. * for priority avatars, none.

Parameters

required

The avatar type.

required

The ID of the item the avatar is associated with.

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