Hi, I’m using a Bitbucket OAuth app to authenticate users and then calling APIs to get information about members/users within a worksapce. I’m having trouble accessing the email addresses or at least the public email addresses of users. The API documentation shows the username to be present in the responses but it's not there in the actual responses.
API documentation references https://developer.atlassian.com/bitbucket/api/2/reference/resource/workspaces/%7Bworkspace%7D/members/%7Bmember%7D
It'd be great if someone knows a way to get the username and email addresses of users within a workspace that the authenticated user owns.
Thanks in advance.
Hi @Sarmad Sabih ,
Unfortunately, it is not possible to retrieve such information from bitbucket cloud APIs.
This happens in order to improve user privacy in accordance with GDPR regulations.
For more information:
https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr/
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.