Bibucket Cloud member's username or email id using API

dhiman.das October 20, 2021

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

2 answers

0 votes
Caroline R
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 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 

0 votes
ABEL MASILA October 21, 2021

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
AUG Leaders

Atlassian Community Events