Provide ability to set default value for Delete on Merge at repo level

XMLWordPrintable

      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 2025-04-02

      We've added a new option to branching model settings (both at the repository and project level) allowing you to set the default value for source branch deletion on PR merge. This is now available to 100% of customers.

      https://support.atlassian.com/bitbucket-cloud/docs/branch-a-repository/#Branch-deletion-when-merging-a-pull-request

            Assignee:
            Dave Parrish [Atlassian]
            Reporter:
            Esther Strom [ACP-JA]
            Votes:
            116 Vote for this issue
            Watchers:
            61 Start watching this issue

              Created:
              Updated:
              Resolved: