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

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

CanS March 8, 2023

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.
March 9, 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

CanS March 12, 2023

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
Product Admin
TAGS
AUG Leaders

Atlassian Community Events