Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to add automation rule that sends email notification if status not changed for 48 hours?

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.

2 answers

1 accepted

0 votes
Answer accepted

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

scheduled_status_changed.PNG

Regards,

Ioana

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

image.png

Hi 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:

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

Regards,

Ioana

Like Salah Ayoub likes this
0 votes
Pavel Junek Community Leader May 31, 2021

Hi,

You can use "Scheduled" automation rule with JQL query action:

jql_automation.PNG

And send mail:

send mail.PNG

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. 

Pavel Junek Community Leader Jun 01, 2021

Yea, your right :) 

Thank you

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?

Hi Mariano,

Try this JQL:

project = "My Project" AND status = "Waiting for support" AND updated < -2d

or

project = "My Project" AND status = "Waiting for support" AND updated < -48h

 

If it is still not working please provide more details (any error you get, rule configuration, etc).

 

Regards,

Ioana

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you