Details
-
Bug
-
Resolution: Obsolete
-
Low
-
6.0-OD-14, 6.0, 6.0.1/OD-15
-
None
-
6
-
Description
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
User resources retrieved over REST (e.g. via https://jira.atlassian.com/rest/api/latest/user?username=rfernandes ) return avatar URLs like:
avatarUrls: { 16x16: "https://jira.atlassian.com/secure/useravatar?size=xsmall&ownerId=rfernandes&avatarId=19490" 24x24: "https://jira.atlassian.com/secure/useravatar?size=small&ownerId=rfernandes&avatarId=19490" 32x32: "https://jira.atlassian.com/secure/useravatar?size=medium&ownerId=rfernandes&avatarId=19490" 48x48: "https://jira.atlassian.com/secure/useravatar?ownerId=rfernandes&avatarId=19490" }
However, the 24x24 ("size=small") and 16x16 ("size=xsmall") URLs both link to the same 16 by 16 pixel image.
This seems to apply to user uploaded avatars only. For example, the following built-in avatars are correctly sized:
- 16x16 : https://jira.atlassian.com/secure/useravatar?size=xsmall&avatarId=10613
- 24x24 : https://jira.atlassian.com/secure/useravatar?size=small&avatarId=10613
... but the following uploaded avatars aren't:
- 16x16 : https://jira.atlassian.com/secure/useravatar?size=xsmall&ownerId=rfernandes&avatarId=19490
- 24x24 (actually 16x16): https://jira.atlassian.com/secure/useravatar?size=small&ownerId=rfernandes&avatarId=19490
(Side note: it seems that most uses of a 24x24 avatar in JIRA's UI use the 16x16 image, and scale it to 24x24 via CSS or image attributes, resulting in slightly degraded quality.)
Attachments
Issue Links
- relates to
-
JRACLOUD-33383 The "24x24" avatar URL in the REST API's "user" resource links to a 16x16 image
- Closed
-
JRADEV-20493 Loading...
- is cloned from
-
JRADEV-21904 Loading...