I'm currently working on a webhook that fires off an update to Slack whenever an applicable ticket is created or updated. My issue is that no matter what I try with the "status" query, the webhook only fires when the ticket is created or set to "Done", and doesn't fire with any other status. The JQL I have is below:
project = "Dev Board" AND (reporter = "[user]" OR reporter = "[user]" OR reporter = "[user]") AND (labels = Support OR labels = support) AND status in ("SELCTED FOR DEVELOPMENT", "BLOCKED/REOPEN", "In Progress", "In Test", "Product Review", Done)
From what I understand, any ticket that's labeled with Support
or support
, filed by one of the three mentioned users, and is set to any of the listed statuses, should trigger the webhook. Is there something obvious that I'm doing wrong here? (Also yes, there's a spelling error in one of the statuses *eye roll*. Thank the engineers.)
I've attached a screenshot of the current webhook configuration summary so you can see the complete configuration.
EDIT: For some reason I'm not seeing the statuses from the issue Status dropdown menu, in the https://[domain].atlassian.net/secure/admin/ViewStatuses.jspa page. Could this be related to it? I've attached a photo of the drop down menu I'm referencing:
EDIT EDIT: I've verified that the statuses above are actual statuses, because they work with the generic Advanced Searching page. Using `status = "SELCTED FOR DEVELOPMENT"` does actually result in the relevant issues being shown.
some reason I'm not seeing the statuses from the issue Status dropdown menu, in the https://[domain].atlassian.net/secure/admin/ViewStatuses.jspa page.
That means those statuses are from a next-gen project which will not be shown in the global statuses page. But, this shouldn't cause the webhook issue for you.
Copy the JQL from the webhook config and try to run it in the advance search - just to make sure that there is no error in the JQL. Sometimes an extra space is status name may cause similar issue.
I've gone into the Advanced Searching option, and pasting the JQL in the search bar actually does result in the correct tickets being shown. Only tickets labeled with Support or support, and tickets that are in one of those 5 statuses. Is there something about there a configuration issue with the webhook rule? I've also verified that I can add/remove statuses from the in() array in order to show different tickets.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please submit a ticket in Support portal with an example ticket. One of our Support Engineers can check server logs and help you understand what might be causing the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.