While merging, you should not be allowed to delete source branch if there are still other open pull requests

XMLWordPrintable

      Issue Summary

      While merging, you should not be allowed to delete source branch if there are still other open pull requests

      Steps to Reproduce

      1. Customer was merging a pull request and by default they have Close source branch ticked which normally would delete the branch after merging, which is great. However, this branch actually still has other open pull request targetting a different destination branch.
      1.  This has now has broken Pipelines as the branch no longer exists.

      Expected Results

      Bitbucket should catch this situation and disable the "Close source branch" option when there are multiple PR from the same source branch.

      Actual Results

      It does not, the branch is then deleted causing issues.

      ...
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Ben
              Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: