Forums

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

How to enable a trigger if after x days no new comment is added to an issue? (Automation Rule)

Viktoria Neudecker
Contributor
March 2, 2022

Hello,

 

can somebody tell me if it is possible to create an automation rule for the following task:

Send message to the assigned person if after 5 days no new comment was added to the issue ticket. 

 

I don't know whitch trigger I can use for this event. 

 

Thank you in advance!

3 answers

1 accepted

1 vote
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 2, 2022

Hi @Viktoria Neudecker -- Welcome to the Atlassian Community!

This is possible to detect, and you may want to consider more criteria or the rule could return a lot of issues.

An example rule to do this, with a built-in stopping condition would be:

  • trigger: scheduled with JQL for the issues you want to check.  For example:
project = myProject AND assignee IS NOT EMPTY AND statusCategory != Done
  • advanced compare condition
    • first value: {{issue.comments.last.created.diff(now).days}}
    • condition: greater than
    • second value: 4
  • action: send the message to the assignee, or just add a comment to mention them
  • action: add a comment indicating they have been notified

Note the need for a stopping condition, or the rule will repeatedly send the notifications.  If that is what you want, then remove the last add comment action.

Kind regards,
Bill

Viktoria Neudecker
Contributor
March 20, 2022

Hello Bill,

 

Thank you for your help!

This was exactly what I was looking for. It worked!

 

Best regards,

Viktoria

Like # people like this
Keshav July 25, 2023

Hi @Bill Sheboy ,

I do have a similar question, but with one exception. i.e. when sprint contains issue with sub-tasks and none of the sub-tasks have been updated in 7 days, only then send email to assignee.

https://community.atlassian.com/t5/Jira-Software-questions/Notify-assignee-if-no-comment-is-made-for-7-days/qaq-p/2430036

Can you please help me on this, I tried playing with the response that I received, but did not achieve the result.

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 26, 2023

Hi @Keshav 

I will take a look at your other post and respond there.

Kind regards,
Bill

Like Keshav likes this
0 votes
Lea Le Borgne July 19, 2022

Hello! 

I would like to do exactly the same but adding a condition regarding who commented the ticket.

What I would like to do be like:

If the ticket hasn't been updated during 3 days, then send an email to the assignee but based on which team put the last comment.

For example, if the last comment comes from the Support team, then ignore it and send a reminder to the assignee 3 days after the last comment from the developer team.

Do you think this would be possible?

 

Many thanks for your help,

Léa

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 19, 2022

Hi @Lea Le Borgne 

First thing, I recommend creating a new question, and linking to earlier posts like this.  Otherwise only the people following this one will see your question.  Thanks!

I suspect such as rule is possible, and you could compare the {{initiator}} of the rule or {{issue.comments.last.author}} to learn who added the last comment.  I recommend trying to write the rule, and if you have problems to post your rule and what you observed.

Kind regards,
Bill

Like Lea Le Borgne likes this
0 votes
Sachin Dhamale
Community Champion
March 2, 2022

@Viktoria Neudecker ,

 

5 days from creation of an issue? If yes then you can use this automation rule 

send email automation rule.png

Accept the issue if it helps

Viktoria Neudecker
Contributor
March 3, 2022

Hello Sachin, Thank you for the fast reply but I would like to have a reminder for my colleagues to update their jira tickets they are assigned to / working on.

I will try Bill's suggestion.

 

Best regards,

Viktoria

Like Sachin Dhamale likes this

Suggest an answer

Log in or Sign up to answer