The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events