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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.