Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-11463

BranchDeletedEvent is not fired when deleting a branch as part of a pull request merge

    XMLWordPrintable

Details

    Description

      Summary

      At the moment, deleting a branch as part of merging a pull request does not trigger the BranchDeletedEvent although https://docs.atlassian.com/bitbucket-server/javadoc/5.16.0/api/reference/com/atlassian/bitbucket/event/branch/BranchDeletedEvent.html states

      An event that is raised when a branch is deleted using the UI or REST

      Steps to Reproduce

      1. Delete a branch explicitly (i.e. outside of merging a pull request) and observe the BranchDeletedEvent is fired
      2. Merge a pull request and tick the box to delete the source branch, and observe the BranchDeletedEvent is not fired although the deletion happened through the UI and should therefore be fired according to the documentation

      Attachments

        Issue Links

          Activity

            People

              spetrucev Stefan
              cglockner Christian Glockner
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: