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: 

How to list all repositories under a particular account?

Darshan G
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 20, 2019

i want to have a list of all private repositories under an account. 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 2, 2019

Hello @Darshan G,

You can navigate to https://bitbucket.org/{account_in_question} and turn on Private filter.

Alternatively, there's REST API endpoint /2.0/repositories/{username} which returns a paginated list of all repositories of the given account. You can list only private repositories by adding BBQL query is_private=true, something like this:

https://api.bitbucket.org/2.0/repositories/account_in_question?q=is_private%3Dtrue

Hope this helps.

Cheers,
Daniil

TAGS
AUG Leaders

Atlassian Community Events