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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How can I getting list of users for an organization in BitBucket?

Hi,

 

I want to get the list of all the users in my organization using BitBucket API? All I can find on the internet is by using the teams.

"https://api.bitbucket.org/2.0/teams/${org}/members"

Since it's deprecated, I am not sure how I can get the list of users and personal repos they created using the organization ID.

I don't want to list the users in the specific workspace. I want to get information about personal settings for users (like ID not nickname, profile visibility, any public repo, etc).

3 answers

Hi Pramodh M is there a way to export a list of all the users in the user directory?

Hi Pramod,

Sorry, I think I should have framed my question better. I can get who the members are for a specific workspace, that's not my requirement. What I am looking for is to know whether people are creating any private/personal repos (not part of any workspace) within the organization. And if so, is there anything that is publically accessible.

 

I think I can list all the publicly accessible repo (be it in the workspace or in their private account) using https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-get. Is there a way for me to know whether any snippets are public or not?

 

Just to be clear, when I say private/personal, I only mean repos they have created using the company's ID. 

0 votes
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 30, 2022
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 30, 2022

I don't want to list the users in the specific workspace. I want to get information about personal settings for users (like ID not nickname, profile visibility, any public repo, etc).

The above is not possible yet with Bitbucket

It's possible with Atlassian Access (For a managed account)

Can you please elaborate a bit on this as this is what I think I want.

Also if possible, can you please go through my previous comment where I explained my requirement a little better, maybe that would help you understand my requirements.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events