Hello, I set up a connection towards my Bitbucket cloud workspace.
2 tokens: admin + read as requested.
When I select a pattern, the result matches 5 times the same branch (yes, the branch is unique)
Might it be some config issue?
Here the full response from the console where all the branches are listed more than once
Hi @antsam,
Welcome to Google Cloud Community!
It appears the same branch is being listed multiple times in your Bitbucket Cloud workspace. This could be due to a configuration issue on how Bitbucket Cloud API lists branch references. You may try these steps to resolve your issue:
curl -u username:app_password "https://api.bitbucket.org/2.0/repositories/{workspace}/{repo}/refs/branches"
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
No, it must be something on Google.
First I tried with the API call and I get 5 results, which are all the branches that exist in the repository.
Second I tried with the specific regex
I also tried with a different repository link, same issue. I can try with more limited permissions (e.g. exclude PRs)