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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,749 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you