Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket webhook for the trigger - "Pull Request Approved" returns a Http 500 response

neha gopinath
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!
August 16, 2018

I have one repository on my Bitbucket server. I create pull requests using a branch. I want a Jenkins build to run once the pull request is approved by the specified approver. I have configured the Bitbucket webhook for that particular repository.

When I test the connection, I get a 200 response. But the trigger "Pull Request Approved" and "Pull Request Merged" returns a 500 response.

I also tried configuring the Bitbucket post Webhook to run a Jenkins build on a new push to the specified repository which works as expected.

However, my requirement is to run a Jenkins build when the pull request is approved.

Please help me out with this. Thanks.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events