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
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 Jun 14, 2018 in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

463 views 2 4
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