Set "delete source branch" as default for all pull-requests

XMLWordPrintable

      Hi Atlassian Team,

      as far as I can see there is no way to enable the flag "delete source branch" per default for all pull-requests. 

      Background: some developers forget to click this checkbox when creating a pull request. After merging the source branch still exists.

      It would be great if we could define "delete source branch" as default for all pull requests. So a developer has to unset it if he doesn't want to delete the source branch (which is only for some seldom cases).

       

      Thanks

      Matthias

       


      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:
            Matthias Maier
            Votes:
            303 Vote for this issue
            Watchers:
            115 Start watching this issue

              Created:
              Updated:
              Resolved: