Forums

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

Webhook doesn't fire for any status change EXCEPT to "Done"

Alex Schneider
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!
January 19, 2020

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.

ScrnSht_[1].png

 

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:

ScrnSht_[2].png

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.

1 answer

0 votes
Veera
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 19, 2020

@Alex Schneider 

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.

Alex Schneider
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!
January 19, 2020

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.

Veera
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 20, 2020

@Alex Schneider 

 

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.

Suggest an answer

Log in or Sign up to answer