Forums

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

Webhook triggered only create issue button clicking

ashokreddy nemilidinne June 17, 2018

I have created one web hook in jira,when ever new issue created it' automatically triggered webhook and created ticket jira.

 

is there any way webhook triggered only issue created button clicked ?

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 18, 2018

Hello,

There is no such an event. For Issue Event it does not matter how an issue was created by UI, by mail or by a REST Api call. 

ashokreddy nemilidinne June 18, 2018

This is my requirement 

 

                We are integrating the Freshdesk & JIRA ticketing system through Azure function (serverless computing) and facing the issue circular/infinite call when creating the new ticket. Implemented the below approach –

                Registered the webhook in freshdesk and JIRA system by defining the rules where in referred the ticket’s fields.

Here Issues is - This is working and created the ticket as well in target ticketing system as expected. But, circular call (infinity looping) is triggered and duplicate ticket is created on both ticketing system

how it will avoid this circular call,is there any solution in JIRA webhook ?

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 18, 2018

You should break the infinite loop in the Freshdesk. When you get a request from Jira, that an issue is created, why do you create the same issue in Jira?

ashokreddy nemilidinne June 18, 2018

Not same issue some one using freshdesk to create ticket then it's automatically create issue in jira using azure functions.

is there any possiblity to meet this requirement using JIRA ?

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 18, 2018

You can add a JQL condition to your webhook. You can create a custom field called System, for example. And then add the JQL condition to your webhook

System <> "Freshdesk"

When you create an issue from Freshdesk, set the System field to Freshdesk value. And your webhook will not fire, because it will fire only if the System field does not equal Freshdesk.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events