GDPR: no avatar in /rest/api/2/user/picker response

Hi,

In GDPR mode(given ‘x-atlassian-force-account-id’:true in request headers),
the response of ‘/rest/api/2/user/picker?showAvatar=true&query=xxx’ doesn’t include any avatars.

But for example, /rest/api/2/user/assignable/search returns the response which includes avatars.

Does anyone know how to make avatars include in the response of /user/picker?

Thanks

1 Like

Hello @abe.kenichi,

Based on REST API migration guide, the user object for /user/picker changed and does not include avatarUrl (https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/#picker).

As for /user/assignable/search, the user object still contains avatarUrl (https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/#user).

Hope this helps.
Ian

1 Like

Thanks, @iragudo.

I wonder why only /assignable/search returns avatars…

It would like /user/picker to do as same.

It may be a defect.

https://ecosystem.atlassian.net/browse/ACJIRA-1732

2 Likes

I missed to update this post about the public-facing issue raised. Thank you for pointing it out.

1 Like