Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,669
Community Members
 
Community Events
165
Community Groups

Bibucket Cloud member's username or email id using API

How to find the username or email id of a member using the Bitbucket Cloud API?

2 answers

0 votes
Caroline R Atlassian Team Oct 22, 2021

Hi, @dhiman_das

Thank you for reaching out to Atlassian Community!

Currently, we don’t return usernames or emails with that endpoint. For usernames, we removed them from the API to comply with GDPR: 

And for visibility of emails of team members, we have the following feature request: 

I would suggest that you add your vote there (by selecting the Vote for this issue link) as the number of votes helps the development team and product managers better understand the demand for new features. 

You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the Start watching this issue link) if you'd like to get notified via email on updates.

Implementation of new features is done as per our policy here and any updates will be posted in the feature request. 

Kind regards,
Caroline 

From the docs, seems you can only get the username, display_name, and nickname.

The API endpoint is /2.0/users/{selected_user} 

selected_user: This can either be the UUID of the account, surrounded by curly-braces, for example {account UUID} OR an Atlassian Account ID.

https://developer.atlassian.com/bitbucket/api/2/reference/resource/users

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,263 views 2 9
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