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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,467,374
Community Members
 
Community Events
177
Community Groups

Unable to pull private projects list with API call

Hello all,

 

I'm unable to pull private projects and repos list using the api https://api.bitbucket.org/2.0/workspaces/UUID/projects. When i do a API call, i'm getting only public projects list within my organization workspace.

 

Thanks in advance!!

2 answers

1 accepted

1 vote
Answer accepted
Caroline R Atlassian Team Apr 22, 2022

Hi, @puru kovvuri, thank you for reaching out to Atlassian Community.

Could you please confirm which type of authentication you are using when making this request?

In case you are using Basic Auth, we have deprecated account passwords, so you need to use an app password (if you are not using one already). If you are using an app password, make sure it has all the necessary permissions. And if you use OAuth, permissions could also be an issue.

This is an example (utilizing an app password) you can follow: 

curl -X GET -u username:apppassword https://api.bitbucket.org/2.0/workspaces/{workspaceID}/projects

Please feel free to share any additional questions or concerns regarding this case.

Kind regards,
Caroline

0 votes

What are you passing in as the user/auth for the REST API call? 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events