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

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

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 May 21, 2024

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events