Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,701
Community Members
 
Community Events
176
Community Groups

How can I trigger an event, if an issue is not updated for a given time?

The motivation is that we have some people to remaind to there work issues after a couple days. We wish that the stories get closed or commented by the assignee. If not I want to remaind them via email notifications.

Therefore I wanted to check after 5 days, if the issue is updated in the last 5 days with the field updatedDate. But I was running into the issue, that this date is always updated, if the story is moved from the passt sprint into the next sprint, when we start the new sprint. So the story always looks like updated by somebody.

I was also thinking to catch somehow the last written comment of the stories to see, if they are older then 5 days. Does somebody know how to do that?

Thanks.

1 answer

1 accepted

1 vote
Answer accepted

create an automation that triggers every day at before work starts and checks if the date of the last comment (or the las comment made by the assignee) is older than 5 days (and the issue is still open, of course).

Relevant smartvalues

  • {{comment.last.author}} - Returns the ID of last comment's author.
  • {{comment.last.created}} - Returns the date and time of the last comment.
  • {{issue.assignee}} - You can probably guess it ;) 

Then, as the action of the rule, send an email to each assignee.

 

I hope it helps :)

Yes lago Docando,

thanks alot, this seams to me a solution. I just have to figure out how I tread the case, if a issue does not have any comments. :-)

Cheers

Ok, that with the empty comment was easy. But if I have the following else block, it send an email, even that the last comment is just 5 days old, but it shouldn't. ??

elseBlock.PNG

Like Iago Docando likes this

I could solve it now with a JQL query:

issueFunction in lastComment ("before -7d") 

Still don't know way the other way does not work.

Like Iago Docando likes this

maybe the syntax wasn't quite right? I couldn't tell you from the top of my head really. The good thing is that you got it going. Congrats :)

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events