• Approval
  • Customer
  • Customer Request
  • Customer Transition
  • Jira Service Management Application
  • Organization
  • Organization Service Desk
  • Portals
  • Queue
  • Queue Settings
  • Request Attachment
  • Request Type
  • Request Type Permissions
  • Service Desk
  • Service Desk Customer
  • application-properties
  • applicationrole
  • attachment
  • avatar
  • cluster
  • comment
  • component
  • configuration
  • customFieldOption
  • customFields
  • dashboard
  • email-templates
  • field
  • filter
  • group
  • groups
  • groupuserpicker
  • index
  • index-snapshot
  • issue
  • issueLinkType
  • issuesecurityschemes
  • issuetype
  • issuetypescheme
  • jql
  • licenseValidator
  • monitoring
  • mypermissions
  • mypreferences
  • myself
  • notificationscheme
  • password
  • permissions
  • permissionscheme
  • priority
  • priorityschemes
  • project
  • projectCategory
  • projects
  • projectvalidate
  • reindex
  • resolution
  • role
  • screens
  • securitylevel
  • serverInfo
  • session
  • settings
  • status
  • statuscategory
  • terminology
  • universal_avatar
  • upgrade
  • user
  • version
  • websudo
  • workflow
  • workflowscheme
  • worklog
  • Assets - AQL
  • Assets - Analytics
  • Assets - Archived Objects
  • Assets - Attachments
  • Assets - Comments
  • Assets - Icons
  • Assets - Index Configuration
  • Assets - Object
  • Assets - Object Archive
  • Assets - Object Attribute
  • Assets - Object Connected Tickets
  • Assets - Object Restore
  • Assets - Object Schema
  • Assets - Object Type
  • Assets - Object Type Attribute
  • Assets - Progress
  • Assets - QR Code
  • Assets - Status Types
Server
Jira Service Management / Reference / REST API

universal_avatar

Postman Collection
OpenAPI
GET

Get all avatars for a type and owner

Returns a list of all avatars

Request

Path parameters

type

string

Required
owningObjectId

string

Required

Responses

Returns a list of all Jira avatars in JSON format, that are visible to the user.

application/json

AvatarBean
GET/api/2/universal_avatar/type/{type}/owner/{owningObjectId}
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/api/2/universal_avatar/type/{type}/owner/{owningObjectId}' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
POST

Create avatar from temporary

Creates avatar from temporary

Request

Path parameters

type

string

Required
owningObjectId

string

Required

Request bodyapplication/json

cropperOffsetX

integer

cropperOffsetY

integer

cropperWidth

integer

needsCropping

boolean

url

string

Responses

Returns the created avatar.

application/json

AvatarBean
POST/api/2/universal_avatar/type/{type}/owner/{owningObjectId}/avatar
1 2 3 4 5 curl --request POST \ --url 'http://{baseurl}/rest/api/2/universal_avatar/type/{type}/owner/{owningObjectId}/avatar' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json'
DEL

Delete avatar by ID

Deletes avatar

Request

Path parameters

id

integer

Required
type

string

Required
owningObjectId

string