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

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

    • 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.

      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.

            [BCLOUD-21280] Provide ability to set default value for Delete on Merge at repo level

            Rufus Shrestha added a comment - - edited

            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!!

            Rufus Shrestha added a comment - - edited 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!!

            Hi all 👋 As mentioned on related suggestion BCLOUD-15300, 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.

            Dave Parrish [Atlassian] added a comment - Hi all 👋 As mentioned on related suggestion BCLOUD-15300 , 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.

            Alex Liu added a comment -

            Hi,

            I see the ticket was created in 2021, if no one cares about it, just close it.  Otherwise, it creates false hope!!!

            Alex Liu added a comment - Hi, I see the ticket was created in 2021, if no one cares about it, just close it.  Otherwise, it creates false hope!!!

            +1

            Gotta be honest, this seems like a pretty basic function and I was as surprised as anyone to find out it didn't exist. 

            Sharon Shalno added a comment - Gotta be honest, this seems like a pretty basic function and I was as surprised as anyone to find out it didn't exist. 

            federico added a comment -

            Can't believe this is not already the case... the current behavior is so missleading omg...

            federico added a comment - Can't believe this is not already the case... the current behavior is so missleading omg...

            +1

            Pavel Norin added a comment - +1

            +1

            TORAL, Fabien added a comment - +1

            +1

            Murray Cole added a comment - +1

            Very basic functionality to prevent branch sprawling
            +1

            Marius Posthumus added a comment - Very basic functionality to prevent branch sprawling +1

            Milad added a comment -

            +1

            Milad added a comment - +1

            +1

            Avbase Admin added a comment - +1

            +1

            Nils Möller added a comment - +1

            +1

            +1

            Tom Waterson added a comment - +1

            +1

            +1

            David Thomas added a comment - +1

            This feature was implemented in Bitbucket Server last year in https://jira.atlassian.com/browse/BSERV-12504

            Isn't it the same codebase?

            Mark Hudson added a comment - This feature was implemented in Bitbucket Server last year in https://jira.atlassian.com/browse/BSERV-12504 Isn't it the same codebase?

            I am not sure why Bitbucket is missing such basic features :/.

            Kamran Manzoor added a comment - I am not sure why Bitbucket is missing such basic features :/.

            +1

            Kris Hopkins added a comment - +1

            +1

            Josh Mesilane added a comment - +1

            +1

            Cheyne Baker added a comment - +1

            +1

            Harry Banks added a comment - +1

            Any progress? We would like to have this feature.

            Anamaria Miehs added a comment - Any progress? We would like to have this feature.

            +1

            +1

            Andrey Bondar added a comment - +1

            +1

            Erman Bolat added a comment - +1

            +1

            Eva (they/she) added a comment - +1

            +1

            Gino McCarty added a comment - +1

            +1

             

            Louis Byers added a comment - +1  

            Very interested in having this feature. 

            Lukas Vozenilek added a comment - Very interested in having this feature. 

            Any progress?

            mariusz.wojcik added a comment - Any progress?

            glad to see this happening soon

            Francisco Yago added a comment - glad to see this happening soon

            Chris Peng added a comment - - edited

            Is there any news of the progress ? 
            We're waiting for this feature to be enabled in Cloud product.

            Chris Peng added a comment - - edited Is there any news of the progress ?  We're waiting for this feature to be enabled in Cloud product.

            Tim.Frost added a comment -

            Having large numbers of open branches does impact jenkins pipeline performance so this feature would be very useful. I believe it has already made it into on-premise Bitbucket editions. It would be great to see it in the cloud product.

            Tim.Frost added a comment - Having large numbers of open branches does impact jenkins pipeline performance so this feature would be very useful. I believe it has already made it into on-premise Bitbucket editions. It would be great to see it in the cloud product.

            To add to this, we still want the option to deselect that checkbox, we would just like the default to be set to selected when creating a pull request

            patrick.sheehan added a comment - To add to this, we still want the option to deselect that checkbox, we would just like the default to be set to selected when creating a pull request

              Unassigned Unassigned
              esther.strom Esther Strom [ACP-JA]
              Votes:
              116 Vote for this issue
              Watchers:
              62 Start watching this issue

                Created:
                Updated: