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!!
            Dave Parrish [Atlassian] made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 958402 ]
            Dave Parrish [Atlassian] made changes -
            Link New: This issue is related to BCLOUD-15300 [ BCLOUD-15300 ]
            Dave Parrish [Atlassian] made changes -
            Status Original: Gathering Interest [ 11772 ] New: In Progress [ 3 ]

            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.
            Dave Parrish [Atlassian] made changes -
            Description Original: 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.
            New: 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.
            Dave Parrish [Atlassian] made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 949933 ]
            Jessica Pham made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 912876 ]

            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

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

                Created:
                Updated: