JIRA Webhook sends no data

George Irwin March 18, 2014

I've created a webhook in my OnDemand JIRA instance. It is setup to send all issue events from a specific project to my specified url.

The webhook is triggered as expected, and the request is recieved by my URL and the corresponding function.

However, the request contains no POST data and only sends my JIRA user_key and user_id in the GET query string.

I have NOT ticked the box to exclude details in the webhook POST setup.

Any ideas?

5 answers

1 vote
Jacob Boyko July 3, 2015

In my case the issue was PHP, not JIRA. The $_POST variable was not populated with the data that JIRA sent. The resolution, in PHP, is to use the php://input stream:

<?php
//...
$postdata = file_get_contents("php://input");
//...
?>
0 votes
wei zhu July 25, 2016

Having the same problem, how to resolve it ?

0 votes
Jacob Boyko July 3, 2015

Did this get resolved? I'm having exactly the same problem with my standalone JIRA v6.3.15

0 votes
Mauricio Leyzaola May 28, 2014

Here is even worse. I am not even recieving any webhooks at my end. I have restarted Jira service but nothing happens.

0 votes
George Irwin March 19, 2014

This is beginning to cause me some headaches! Any ideas?

Suggest an answer

Log in or Sign up to answer