Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to get a webhook to fire on new commits to a PR, same as on a new PR

David Karr December 4, 2019

We recently upgraded our enterprise BitBucket Server to version 6.3.5.  We had to remove the plugin we were using to spawn pull request builds and had to start using the "Webhook".  After using this for a bit, we're realizing that when we create a pull request, a build is spawned, but when we push new commits to that PR branch, nothing happens.  Our workaround for now is editing the Description field of the PR, adding a space to the end (which appears to get trimmed on save anyway).

 

It appears that there's an event for creating a PR, and there's an event for "modifying" a PR, but there's no event specifically for new commits to a PR.  It appears that we're supposed to use the "Push" event for this.  Doesn't that a very different payload from the "PR created" event?  Is this what we're supposed to use for that?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events