The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Is there a way to get "Create Issue" event to fire a webhook when a JQL query is provided?

james lee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 2, 2013

I have a webhook set up which works as intended when no JQL is provided, however when a jql is added, the "Create issue" event doesn't fire a message. The JQL is correct because the webhook would fire when there is a different kind of event like update issue. The JQL is just a simple: project = projectxyz

I've seen some people mention this before, but haven't seen an actual solution so I was wondering if there was a way to make this work

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
james lee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 3, 2013

A solution that I found was that I just added a function in the create workflow to re-index the issue before an event is fired for the listeners

0 votes
Jobin Kuruvilla [Adaptavist]
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 Champions.
April 3, 2013

I guess the issue is indexed only after the creation. Try putting the post function at the very end and see if it helps!

TAGS
AUG Leaders

Atlassian Community Events