Hi, is it possible to use Atlassian Connect to retrieve Avatars ?
We don’t have any other issue accessing other API endpoints with ACE (user, email, etc), but trying to access /aa-avatar/5c20e93c9760f569b6277f51 always return a 403. We also tried with wiki/aa-avatar/5c20e93c9760f569b6277f51 with the same result.
The avatars work perfectly when retrieving them via browser and logged into the Confluence instance.
We are retrieving the Avatar url from the user endpoint, but we want the image itself instead of an url. When we try to retrieve it using the addon request, we get that 403.
Example: The get user gives us this URL: "/wiki/aa-avatar/557058:4596849b-4c51-4c1d-8d58-715af50c9627"
But what we want is to retrieve the image, so we use the addon to query that url giving a 403 as a result.
Please be aware that user avatars are a form of personal data so if your app downloads and store them then it will need to declare this in its Marketplace listing and also implement the reporting detailed in User privacy guide for app developers.
We are not storing anything, we only want to show the user avatar (if they have it enabled on the settings) in an email notifications from our addon. So our first idea was to retrieve the image url with the ACE.
If we can not do it this way, do you have an approach on how to do that ?
Thanks Dugald, the problem with embedding the image url directly in the email is that if he is not logged to the instance he will not be able to see the image.
@rwhitbeck Might this issue be related to Jira Service Management ?
The issue is private, but it is about Confluence pdf export and avatar images no visible in the pdf export.