List public and private projects in a team

I have created an OAuth consumer with all the Read access available and I want to list all the projects (public and private). I get the token to verify my request correctly.

Here is the situation :

I'm in a team, as a user I created projects and repositories. I have 11 projects, two of them are public. I have 2 repositories (one in a public project, the other one in a private project)

When I make this API call https://api.bitbucket.org/2.0/teams/{team}/projects/, I only get back 3 projects (The two public one and the private one with the repository inside it)

My goal here is to fetch all the projects, even the privates one and I don't get back the private projects that are empty (which is a problem) even if I'm authentificated correctly

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Tuesday in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

182 views 3 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you