Forums

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

Automation for Jira Cloud - Notification Rule for Count of a Status > 0

Trevor Simpson March 20, 2020

Hi all I am new to Automation for Jira.  I had been looking at purchasing an automation solution and then Atlassian adds this to Jira Cloud for free!!  What a treat.  So one of the use cases I am trying to solve involves issues transitioning between statuses in a Kanban board.  I would like to send a notification when an issue transitions to my "To Do" status and prior to this transition the status had no issues in it. 

Basically I want to send an alert email to the team when a new piece of work shows up where previously there wasn't any work.

Thanks in advance for any ideas!

1 answer

1 accepted

0 votes
Answer accepted
Maíra Storch
Contributor
April 8, 2020

This should work (changing the status, of course):

chrome_OMpYhla3gH.png

If: JQL issues not present is a "relates issues condition".

Trevor Simpson April 8, 2020

Thank you Maria!  I tried this and after testing I had to add a little tweak. It appears that the rule doesn't run until after the triggering issue has already transitioned.  So the JQL query always finds 1 issue in the "To Do" status(that being the issue that triggered the rule to run) and thus never sends an email.  I added an additional check to the JQL of key != {{triggerissue.key}} and that seems to work!  Thank you for getting me started down the right path!!

Like Maíra Storch likes this
Maíra Storch
Contributor
April 8, 2020

Nice! Glad to help 😊

Suggest an answer

Log in or Sign up to answer