Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

BitBucket Rest Api ( Branch filtering )

Francis Lavalliere September 15, 2017

We cannot find how to filter branches that have been "Merged" using the BitBucket Rest API  /2.0{user}/{repoSlog}/refs/branches


Anyone can help ?

1 answer

0 votes
Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 18, 2022

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:


The ticket above also contains a git command that might be useful in this case.




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.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events