Forums

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

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
Contributor
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
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!
July 25, 2016

Having the same problem, how to resolve it ?

0 votes
Jacob Boyko
Contributor
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
Contributor
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
TAGS
atlassian, confluence administration, confluence admin training, confluence learning path, manage users and permissions, confluence certification, atlassian learning, cloud admin tools, streamline collaboration, confluence admin best practices

🚨New Confluence Admin Course Alert!

Manage Confluence like never before! This new learning path teaches you how to manage content, users, and permissions while optimizing user experience. Built for admins at all levels who want to confidently lead and unlock more innovative collaboration.

Learn more
AUG Leaders

Atlassian Community Events