Get current user API returns generic avatar link, doesn't return the original avatar link

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • Component/s: Account - Profile
    • None
    • Severity 3 - Minor
    • 25

      Issue Summary

      The  Get current user endpoint to retrieve a user's details (name, avatar) by Bitbucket User UUID. In Connect, everything works fine, but in Forge, the the real avatar URL appears only if the privacy settings are set to "Anyone" 

      Steps to Reproduce

      1. With the organization restriction, we get the following default URL from the endpoint:
         https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/default-avatar-0.png
        which is a default avatar.

      Expected Results

      For get current user,  the expectation is to receive users real avatar URL regardless of the permission setting

      Actual Results

       Even when the current user is using the API the default avatar url is returned.

      Workaround

       Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Albert Sundjaja
              Reporter:
              Ramachandran N
              Votes:
              10 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: