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: 

Rest API: Listing all Users

Sunil
April 23, 2020

Using 2.0 Rest API, how can I get list of all Users under my organization?

https://developer.atlassian.com/bitbucket/api/2/reference/?utm_source=%2Fbitbucket%2Fapi%2F2%2Freference&utm_medium=302

 

I have a task to list all users and filter to selected user and get all related information like repos, commits, pr's etc.

I tried:

https://developer.atlassian.com/bitbucket/api/2/reference/resource/users
-->2.0/users: Resource not found

-->2.0/users/{myusername}: 404 error

-->2.0/users/{myusername's UUID}: Works good for any valid UUID. not only my uuid, but my colleagues also works.

-->2.0/user/: Works (logged in user details)

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Joao Sgreccia
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 27, 2020

Hi Sunil,

At the moment there isn't a version of API 2.0 for this task. However, The 1.0 API might help you 

https://confluence.atlassian.com/bitbucket/groups-endpoint-296093143.html

 

Cheers

mohan yadav
Contributor
May 21, 2024

any update on how to list down all users in 2.0?

TAGS
AUG Leaders

Atlassian Community Events