Hi friends,
I'm trying to set up a JQL filter for a Slack webhook that will let a user know when an issue has been assigned to him.
Ive tried many variations on the following;
comment ~ "User123" OR assignee = User123 OR reporter = user123 OR (assignee changed to User123 AFTER startOfDay())
The query works for the other notifications the user wants.
I have all of the Issue/Comment/Worklog boxes checked.
Am I getting the syntax wrong? Does Jira not support webhooks for this? Should I be trying a custom event listener?
I am not well versed in using the slack integration with Jira, but I don't see any problem with the JQL query you have used here. I even tried to use the same query (with my own username), and then I tested the webhook aspect of this by using the site https://webhook.site (I wanted to use requestbin, but it looks like they have shut that down). I found this worked just fine for me. I was able to do this in my 7.9.2 version of Jira.
What version of Jira is this?
My concern here is to understand if Jira is actually firing an event here for the actions that are being taken. The JQL filter here is only restricting the webhooks sent here, if Jira is not configured to fire an event for the action, then it won't matter if the JQL matches the issue in question.
It might help to go into your JIRAURL + /secure/admin/ListEventTypes.jspa in order to see a list of all the events Jira has. A number of these are system events such as Issue Created and Issue updated.
But I'd try to create a test webhook on that example site above with the same settings just to confirm that the webhook is sending the expected payload.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.