Send Slack message when priority got updated

Lars Böhnke
Contributor
October 25, 2023

Hey, I want to send a Slack message when a priority of an issue gets updated. This should do the trick, I believe. But it doesn't. Any idea?

project = TSB AND (priority IN (critical, fire) AND type IN (Bug, Investigation)) OR priority changed FROM (Visual, Low, High) to (Fire, Critical)

 

1 answer

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 25, 2023

Hello @Lars Böhnke 

When you use that filter in the "View all issues" screen are you getting the results you expect? If not, what is incorrect about the results?

Are you trying to use this filter within an Automation rule? If so, please show us the complete Automation rule and the Audit Log for when the rule was executed.

Lars Böhnke
Contributor
November 23, 2023

@Trudy Claspill alright, I just tried the part of the JQL query that doesn't work. And here, for example, the query surfaces issues with priority 'Low' which shouldn't happen.Screenshot 2023-11-23 at 20.40.24.png

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 23, 2023

That portion of the query doesn't  include a criteria to check that the current priority of the issue is Critical or Fire. It is retrieving issues that have changed priority as you specified, but that change could have happened at any time. It is not necessarily the last change that happen. After being changed as you specified the issue could've been changed again to a different priority.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events