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
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

395 views 0 9
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