Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

Whats the best way to retrieve email IDs of code authors or reviewers using APIs being an admin?

Hello,

I am working on an automated API solution and one of the issues I'm blocked with is unable to find email IDs of the code authors or reviewers from API even though being an admin on BitBucket Cloud workspace. 

I can see the users and emails from Settings -> User Directory and exporting the list manually. But I'm looking for an API solution so I can process the data and automate next steps. Please suggest me any example endpoints calls or calls that can help here.

Thanks!

1 answer

1 accepted

0 votes
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 09, 2023

Hello @CanS ,

Thank you for reaching out to Atlassian Community!

I'm afraid the e-mail address of users is indeed not currently returned in our public API endpoints. As you mentioned, the workspace members' email addresses are only available through the Export a list of workspace members in the UI.

I went ahead and raised a feature request to add the ability to retrieve workspace member emails via API (for admins), which you can access in the following link : 

I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with this policy in mind.

Patrik S

Thanks for the response and yes please that needs to be a feature with API so developers can pull data and process it for automation reasons. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events