In the Bitbucket web interface, one can filter the branch list as Active or Merged. I would like to use the REST API to get the list of Merged branches but it seems this is not supported. I can get a list of branches using the 1.0 API but there does not appear to be anything that indicates if they have been merged or not.
In our workflow we typically use the option to delete branches after they have been merged but occasionally we need to keep the branch for a while or sometimes users simply forget to delete branch. In either case it would be nice to have a way to remind users of any merged branches they have lying around. I was going to write a simple script to do this using the REST API but the merge status is not accessible.
Can the merge status be added to the API?