Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-21661

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

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      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

              dparrish Dave Parrish [Atlassian]
              13244c4e0671 Matthias Maier
              Votes:
              303 Vote for this issue
              Watchers:
              115 Start watching this issue

                Created:
                Updated:
                Resolved: