I'm updating comments on a pull request, the webhook event for Pull Request: comment updated is not being triggered. I have checked the "View request logs" in Bitbucket but no requests are logged. Additionally, our server is not receiving any events.
Has anyone experienced a similar issue or can provide guidance on how to resolve this?
Hi Aashish and welcome to the community!
Please see below the explanation from our documentation:
Comment updated
A user updates a comment on a pull request. If a user updates the same comment with not much time in between, Bitbucket only sends the event request the first time the comment is updated. However, if some time passes and that user updates the comment again, Bitbucket sends the event request a second time.
Reference:
If the comment is updated shortly after it is created, Bitbucket will not send a request.
With regards to the requests for Comment created, the screenshot you shared here shows 404 errors. If the server that should receive the webhook requests is behind a firewall, you may need to whitelist the IPs used by Bitbucket for webhook delivery. You can find these IPs on the documentation below, section Outgoing Connections:
Please also ensure that you are using a public domain name or public IP address in the webhook URL.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.