Forums

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

Jira automation > Send an email to the assignee if the last comment = more than 3 days ago

Lea Le Borgne July 21, 2022

Hello community!

I'm trying to setup an automation to send an email to the assignee if the last comment posted on the issue is more than 3 days ago.

I've setup this rule:

 

Screenshot 2022-07-21 at 09.16.40.png

 

But I still  have some tickets with the status "Selected for Development" passing and also tickets where the last comment has been posted yesterday or 2 days ago.

 

Any idea how I could modify this rule to have only the issues commented more than 3 days ago?

 

Many thanks!

1 answer

0 votes
DasJo
Contributor
July 21, 2022

I don't understand yet who the mail should go to. Should one mail be sent per issue?
In my opinion, you would have to make a branch for this.

You get the tickets that were commented only two days ago because you go to "Updated is before". This can be comments but also all other fields. Maybe u can use the JQL to check for last Updated? Maybe you can find some Held here: https://community.atlassian.com/t5/Jira-Software-questions/Query-for-Last-Comment/qaq-p/1814521

Lea Le Borgne August 1, 2022

Hello @DasJo,

Thank you for your reply!

 

The email should go to the assignee and it should be one email per issue indeed. 

I tried by doing a branch as below but I still see issues that have been commented less than 3 days ago in the results:

 

Screenshot 2022-08-01 at 17.56.54.png

 

I can't use the JQL alias "commentLastUpdatedOnDate" as I don't have the permission and I don't see which other alias could fit.

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