Conditional webhook triggering

Hi, i'm using webhooks to synchronize JIRA with a in-house project management software and the data synchronization is bi-directional. Therefore, I need to know when someone modifies something in JIRA to update our DB but also update JIRA when someone updates our DB. The problem comes when a webhook is triggered everytime I use the API to send the new issue data, my software gets called by the webhook with the data that I just sent, which creates useless network traffic and potentially more concurrent access problems. I'm looking for an elegant way to prevent my system of having to process a webhook request everytime I make modifications to JIRA using the API. (The same service is used to send requests to and handle webhooks from JIRA)

Thank you

1 answer

1 vote
Josh Steckler Community Champion Apr 13, 2017

I think the only thing you could do is to edit your webhook processor script that's updating your in-house software to ignore updates triggered by the account you're using with the API. That's if this account isn't used for any other purpose. I couldn't think of a way that you could prevent the webhook from being triggered at all.

Thank you for your input, much appreciated.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

22,701 views 2 7
Join discussion

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