provider Avatars GET /rest/api/3/universal_avatar/view/type/{type}
@utdk/jira /rest/api/3/universal_avatar/view/type/{type}
Get avatar image by type
Returns the default project, issue type or priority avatar image. This operation can be accessed anonymously. **[Permissions](#permissions) required:** None.
type path required
The icon type of the avatar.
enum: issuetype, project, priority
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.

getavatarimagebytype
GET/rest/api/3/universal_avatar/view/type/{type}
Returns the default project, issue type or priority avatar image. This operation can be accessed anonymously. **[Permissions](#permissions) required:** None.

Parameters

required

The icon type 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.getavatarimagebytype()