We cannot find how to filter branches that have been "Merged" using the BitBucket Rest API /2.0
https://api.bitbucket.org/2.0/repositories/{user}/{repoSlog}/refs/branches
Anyone can help ?
Hi Francis,
There is currently no REST API option to retrieve the subset of branches that have been merged.
This request is tracked in this ticket: https://jira.atlassian.com/browse/BCLOUD-14022
The ticket above also contains a git command that might be useful in this case.
Caterina
P.S. I know this reply is on a non-so-recent post but I hope it might help you or others who might land here in the future.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.