webhook with jql filter is not trigered correctly

I`m currently setting up a automated message system for Mattermost (Slack look alike) for specific Jira events. To do that I'm using the Jira Webhook tool to call our internal server, which parse the data and creates a send a message to one of our channel. However, I'm having some problem with the JQL Filter option.

Case 1:

event: issue updated

JQL filter: project = "XYZ"

Case 2:

event: issue updated

JQL filter: project = "XYZ" and  status = Resolved

 

For the first case everything is normal. If an issue is resolved (in progress -> resolved) it trigers the webhook with the good status (resolved) and all the info of the issue. However, for the second case, the webhook is only triggered when the issue WAS resolved (resolved -> closed OR resolved -> reopened) and the data that is received from the webhook contains the new status (closed or reopened). So it looks like the webhook JQL Filter is used before the issue is reindexed....

I also tried to add to webhook as a post function in its corresponding workflow and i got the same results.

Am I doing something wrong or is there a solution to this problem?

Version: JIRA v7.3.4

Thanks!

1 answer

This widget could not be displayed.

This is a known issue on jira servers.

See: https://jira.atlassian.com/browse/JRASERVER-65174

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

97 views 1 0
Join discussion

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