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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,953 views 1 5
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