-
Suggestion
-
Resolution: Unresolved
Our repo owners would like to ensure that active branches are deleted as soon as their pull requests are merged. At this time, the user creating the pull request can check the Delete on Merge box, but there's no way to guarantee that it's done.
It would be extremely helpful to have the ability for a repo admin to be able to set this at the repo level, rather than relying on users to do it on each pull request.
Latest update from Atlassian 2024-10-21
Bitbucket Cloud has started work on an option in repo settings (and project settings) that controls the default for "delete source branch after the PR is merged". We'll post an update here when the feature is available.
- is related to
-
BCLOUD-15300 Option to check the `close branch after a PR is merged` checkbox by default
- In Progress
dparrish Wow - I had created this issue in 2017 and was removed as a dup and have been following this since. FINALLY!!!! Only took 7 years but better late than never... and never understood why this wasn't done to reduce repo space and keep it clean. A huge thank you for finally starting. Not sure to laugh or cry!!