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: 

Find which Groups a User is in

Sean Sowell
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events