Forums

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

How I can (or at all possible?) create trigger with rule "if issue not commented"?

Olegs Kokins April 26, 2022

I would like to add a simple rule - if the issue is not commented issue after 10 days, the trigger starts (for example, the status of the application will change). Is there such a possibility?
In standard collection are "edit comment" or "create comment" rules only.

1 answer

1 accepted

3 votes
Answer accepted
Mark Segall
Community Champion
April 26, 2022

Hi @Olegs Kokins 

A straightforward JQL of last comment is unfortunately not natively possible.  You could probably accomplish this with a 3rd party app like Scriptrunner, but here's one way:

Create a date/time field called something like "Last Comment"

AUTOMATION 1 - Populate Last Comment

  • TRIGGER - Issue Commented
  • ACTION - Edit Issue
    • Set Last Comment to {{now}}

AUTOMATION 2 - Last Commented > 10 Days

  • TRIGGER - Scheduled daily with following JQL
    "Last Commented" > -10d
  • ACTION - Whatever you're trying to accomplish
Olegs Kokins April 26, 2022

Thank you very much for the answer!

Like Mark Segall likes this

Suggest an answer

Log in or Sign up to answer