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

Saving a pull request without changes triggers PR modified event webhook

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 9.0.0
    • 8.10.0, 7.21.16, 8.15.1
    • Webhooks

      Issue Summary

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Create a webhook on a repository
        • Add the Pull request Modified event
      2. On the same repository, open an existing pull request and click on ... > Edit
      3. Without making any changes to the pull request, click on Save

      Expected Results

      The webhook should not be triggered to send the pr:modified event

      Actual Results

      The webhook sends the pr:modified event even if there were no changes made to the Pull request's title, description, or target branch.

      Workaround

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

              509bae61989f Sunny Wu
              aaff5594b3eb Aedrian Escultura (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: