Convert temporary avatar into a real avatar
Converts temporary avatar into a real avatar
POST
/api/2/issuetype/{id}/avatarAuthorization
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
or
AuthorizationBearer token · headerrequiredPersonal Access Token — Administration > Profile > Personal Access Tokens
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
Path parameters
idstringrequiredThe issue type id.
Request body
requiredapplication/jsonCropping instructions.
cropperOffsetXinteger<int32>cropperOffsetYinteger<int32>cropperWidthinteger<int32>needsCroppingbooleanurlstringResponses
201
Returns created avatar.
idstringownerstringselectedboolean400
Returned if the cropping coordinates are invalid.
403
Returned if the currently authenticated user does not have permission to pick avatar.
404
Returned if the currently authenticated user does not have EDIT PROJECT permission.
500
Returned if an error occurs while converting temporary avatar to real avatar.