Hi,
I'm an admin in Jira Service Management
How can I add automation rule that sends email notification to assignee or reporter if status not changed for a 48 hours?
I didn't find the proper trigger when created a rule.
Hi Salah,
You can use the Scheduled trigger, so that the automation rule will check the tickets and send emails daily/hourly (depending on what schedule you configure).
The automation should check the following JQL: not status changed after -48h
Regards,
Ioana
You can use "Scheduled" automation rule with JQL query action:
And send mail:
Pavel
If you use updated, it will check for any update, not status changed only.
So if a comment was added/ a field was edited, the issue will be considered updated, even though the status did not change.
Yea, your right
Thank you
Hi Ioana,
Thanks for your support. I tried what you are suggesting and when i click on validate query it showed me the issues are matching the condition (not status changed after -48h) and it shows some issues are created only yesterday and 48 hrs not passed yet on not changing the status.
could you please suggest another query or look again into the one you shared. in both cases, do you have a link where usually we cheat to know the available queries and the syntax?
Thx
Salah
Simply add: and created < -48h
It seems that Jira also considers the status updated when a ticket is created. With the JQL below you can see all tickets where the status did not change in the last 3 days and that have been created earlier than 3 days ago.
NOT status changed after -48h and created < -48h
You can check the documentation below for more information about JQL:
Advanced searching - fields reference
Advanced searching - functions reference
Advanced search reference - JQL operators
Advanced search reference - JQL keywords
You could also check this free skillbuilder: https://training.atlassian.com/jql-in-jira-service-management and this free training: https://training.atlassian.com/Jira-jql
Hello @Ioana and @Pavel Junek ! I am actually trying to achieve this, if no update whatsoever (abandoned issue) I want to receive an email.
I have a 5 day old test ticket in Waiting for Support status, and I created this JQL rule:
`project = "My Project" and status = "Waiting for support" and updated >= 2d`
Yet I can't seem to get it to work, I also tried `updates < -2d` but still no luck.
What am I doing wrong?
hello, I tried this automation but when it is executed it sends to the assigned persons several emails, when only one email is required.
It looks like you're new here. Sign in or register to get started.