Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket API: Trouble retrieving username and email addresses of users/members within workspace

Sarmad Sabih
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 14, 2020

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.

1 answer

0 votes
Joao Sgreccia
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 15, 2020

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events