Bitbucket is not sending webhook event for pull request

Stefano Dimastromatteo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 27, 2025

Hi, I'm facing something similar right now, I've configured my webhooks for just Triggers: pullrequest:created, pullrequest:updated.

Anyway, it works when a PR has been created but nothing happens when I push something new on the existing PR (no build are triggered).

Screenshot 2025-02-27 at 12.09.31.png

Even enabling request History collection, I can see the event triggered, but then no new builds are starting on my PR.

Screenshot 2025-02-27 at 12.12.42.png

Am i missing something? I don't want repository:push trigger since the build just needs to start when a PR exists.

Thank you!

 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 28, 2025

Hi Stefano and welcome to the community!

The event in your screenshot with a status code 200 indicates that Bitbucket successfully sent the request to the webhook URL. Otherwise, you would see a 4xx or 5xx status code.

If your builds are not triggered, I suggest looking at what happens when your server receives the request. If you're integrating with a third-party CI/CD tool, something may not be configured correctly within this tool. You could reach out to the support team or a forum for this product to help you understand if something is misconfigured. If you have written a script that runs when the request is sent, look at what the script does when it receives the request for the pullrequest:updated event.

Please feel free to reach out if you have any questions.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events