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

james lee 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

0 votes
james lee 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 Leaders.
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!

Suggest an answer

Log in or Sign up to answer