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

Get users and groups from workspace

Nan_Zhang
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!
September 6, 2024

Is there a way to get all of the users and groups in Bitbucket org using RestAPI version 2?

There is a /members endpoint but it doesn't return the user's email address, only the name and display name and uuid. And the /users/{select_user} endpoint doesn't return email address either and it requires the user id which the response from /members endpoint doesn't contain.

I see that /groups endpoint in version 1 and it returns the groups but version 1 is not supported and this endpoint is not supported in version 2.

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 9, 2024

G'day, @Nan_Zhang 

Welcome to the community!

Our API endpoint doesn't return user email addresses, but you can export the list from your workspace > User directory.

We have an existing feature request to add an email address in the API response; please Vote and Watch them to receive an update at:

https://jira.atlassian.com/browse/BCLOUD-22643

Regards,
Syahrul

Suggest an answer

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

Atlassian Community Events