Forums

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

Find which Groups a User is in

Sean Sowell May 6, 2019

In bitbucket.org we have created multiple groups to manage our users.   Is there an easy way to see what groups a particular user is in?   Without visiting each group and trying to find their name.   

1 answer

1 accepted

0 votes
Answer accepted
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 7, 2019

Hello Sean,

Bitbucket cloud allows a single user to be within multiple repos within and outside of the specified groups you create. (Meaning a user may be part of your repos and groups and also a member of additional external repos and groups). With this said, there is an API endpoint which will allow you to check a user within your team and return their highest level of permission granted. The endpoint would be /2.0/teams/{username}/permissions.

An example cURL call for this would be as follows:

curl -u username:token -X GET https://bitbucket.org/api/2.0/teams/{username}/permissions

I hope this proves helpful and you’re able to find where users have assigned permissions within groups.

Regards,
Stephen Sifers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events