issue_created not always being captured with jira webhook?

This question is in reference to Atlassian Developer Documentation: Webhooks

Greetings,

We have implemented an integration between ServiceNow and our JIRA instance, and part of the integration involves listening to JIRA via the webhook to see when issues are updated or created.

I have noticed that for some odd reason, sometimes the issue_created just simply never gets caught when an issue is created.  It is intermittent in nature, and I personally have not been able to replicate, but I have had enough people come to me with examples I can see where it clearly just never got fired according to logs that it seems to be a growing issue.

What can I do to investigate this issue further?  The code is pretty simple, I'm really just looking for when issue_created is fired and creating a log entry when that occurs, before executing any other portion of the code.  I simply just don't see a log entry at all for a create attempt for the cases where they aren't getting caught.  Is there anything else I can check for?  Any known conditions that would cause a issue_created event not to fire when a JIRA issue is submitted manually?

Best regards,

Brian

2 answers

Hey @brian cronrath, 

The known case when webhooks are not delivered is when the listener is down. If the listener is up, please try to set logging to debug level for the package com.atlassian.webhooks.plugin. You can do this easily in JIRA server by going to log configuration or you can ask our support to do so on your cloud instance and help you with analysing what's happening there. 

 

Cheers,

Filip

Thank you Filip! 

Just for my own clarification - when a listener goes down is it usually quite temporary in nature?  The problem I'm having when sorting this out is that other issues submitted within seconds of the ones that aren't caught do get caught, so it seems like the listener should be up during that time, unless what you are saying is that it can go down for a few seconds at a time then come back up intermittently?

Best regards,

Brian

We are also experiencing webhooks that do not fire on creation of specific issue types (we are using cloud).  It's very reproducable. 

Thank you Filip! 

Just for my own clarification - when a listener goes down is it usually quite temporary in nature?  The problem I'm having when sorting this out is that other issues submitted within seconds of the ones that aren't caught do get caught, so it seems like the listener should be up during that time, unless what you are saying is that it can go down for a few seconds at a time then come back up intermittently?

Best regards,

Brian

Brian, Filip might not see this as another answer.  Try adding this as a comment so that he gets notified. 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

59 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you