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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,552,506
Community Members
 
Community Events
184
Community Groups

how can i view the emails address of bitbucket account holders

We have many groups on our organization in that groups that will show only user names. i want view the email id's of that user for removal of user relieving time. 

6 answers

Yes, I am surprised by the answer. I have 20-30 mistery users and I can't get their email address via admin ui/portal/or API?

It seems Atlassian's interpretation of GDPR is that users of their services are able to maintain complete anonymity via any services that may interact with their API's; whether that's BitBucket, JIRA, or Admin API endpoints. Their position seems to be that names and email addresses are off-limits.

What is interesting is that they still have documented API's all over the place that claim to return user information, such as from here and that would require an Admin API  key that expires, but it'll return an empty array. So Atlassian has chosen to give its customers the advice that they should export a list of all of their user data, instead of using secure API's, because then it's your problem and not theirs. A pretty bizarre scenario.

I have discovered a bit of a bug on their end that will expose email addresses on occasion for specific staff who create and review PR'sYou have to use this API and iterate over author.raw to get email addresses from this endpoint: https://api.bitbucket.org/2.0/repositories/{workspace}/{repo}/refs/branches (see documentation here)

Oh oh @Ryan Hilliker  - you're about to get permabanned. ;p

I had this same issue because the 'User directory' now also contains the "Users on plan" I could previously figure out who's who by going to the latter.

The only way I have found to figure this out now is to add the users to a group and then going to the "User groups" view and looking up the group. Emails are shown there along with the user's name.

0 votes
Angelo Evangelista
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!
Apr 13, 2023

Still no good solutions for this, lol. But I've found a dirty workaround to this. Simply use the internal bitbucket site api, since it shares the same bearer token auth method:

https://bitbucket.org/api/internal/workspaces/<YOUR_WORKSPACE>/groups/<GROUP_SLUG>/members

It's a paginated response, so You'll have to handle that. You can also add a query param "fields" to fetch only specifics fields, such as our precious email there

The member will be in the format below:

carbon.png

This is not the best, You know. But we work with what We have :p

Adding my voice to the above. This is a ridiculous configuration. Carrying out an audit where we have developers from different suppliers and knowing who is with which so we can terminate access when we end a relationship is essential. This cannot be done with username alone !

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 15, 2019

Hi Saravanan,

You won't be able to see the email address of the users. You can only see their name and username. This can be found on the link https://bitbucket.org/account/user/<username>/plan-users/ (make sure to replace <username> with your actual username).

Hope that helps!

Ana

Thanks for the reply.  when user getting relieving we need to remove them accordingly. some time same name will be there we cannot identify with the user name. 

Like # people like this

This is crazy - being part of admin group in Jira&Confluence, you can really manage users, you can see the username and email. Jumping into bitbucket, you have to guess which email is behind the user, as you'll see only the same name and duplicated entries.

Such usability, as removing all the user's entries and and adding the "valid" email back, seeing in paid, "professional" product for the first time.

Like # people like this

Agreed. What is the reason for this choice?

Perhaps someone who never managed a system decided it was a good idea.

It's obviously not, but someone thought it was.

Like # people like this

Poor decision. As an admin I need a way to track the user email, this is the only unique value. The user can set a nickname for whatever he likes.

Like # people like this

I have the same exact issue. I now have a user with two different accounts between jira and bitbucket and I didn't know that because I can't see their bitbucket email profile. Poor configuration Atlassian.

Like Steve Michel likes this

I bet you another $5 that this isn't poor configuration. This is poor understanding of what compliance means.

This is unacceptable.  When will it be fixed?

Please fix this. I spent 20' to figure out which person is which. This is insane.

Like Steve Michel likes this

Please fix this. It's absurd. Does nobody from Atlassian actually use Atlassian tools?

 

Edit: after looking around some more, not all users on our account even have their usernames displayed! How does Atlassian decide if they're going to show the username for a certain user or not? How am I even supposed to use the "solution" above if I don't know what a user's username is? Why is it that I even have to ask these questions?

Like Laura Kolker _Appfire_ likes this

This is amazing. The question was asked 2 years ago. I will be switching to GitHub because the support is incredibly poor.

Like Eugene Gladchenko likes this

WTF?!

Is this the official answer?

So, Atlassian doesn't understand a thing about user management. Should I trust them with my projects??

I will throw my hat in the ring too. Not being able to find the correct bb username/email has been an issue multiple times now. We have users that come on the team that had prior bb accounts and jira accounts and tracking down which user/email they used is a nightmare.

This is absurd and ridiculous and potentially puts companies' proprietary data at risk of ex-employees! Please make this change or else there are enough other providers who have a better understanding of GDPR!

https://rushabhshah065.medium.com/lets-move-repository-from-bitbucket-to-github-with-all-branches-and-commits-f93c7d3bda67

I cannot believe I convinced my company to use this junk. Members in my workspace and I cannot even see their email addresses. Wow... Don't I look like a fool. 

 

Thanks again Atlassian. The list just keeps growing.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events