Forums

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

Automation Rule resolutiondate 5 minutes ago

Tobias
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.
April 28, 2021

Hello all,
for the implementation of a project I wanted to ask if there is a way to check on which operations the resolution was set in the last 5 minutes.

We need this function because we want to send automated mails about it. So we want to check for ResolutionDate - 5 minutes or something similar.

Maybe there is a solution like resolutiondate=now()-5m?

Is there any way to calculate with the ResolutionDate?

2 answers

1 accepted

1 vote
Answer accepted
John Funk
Community Champion
April 28, 2021

Hi Tobias,

Try something like:

project = ABC and resolved >= -5m

Tobias
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.
April 29, 2021

This worked for me. Thank you John.

Like John Funk likes this
1 vote
Trudy Claspill
Community Champion
April 28, 2021

Do you have Automation for JIRA installed, or are you wanting to do this with Scriptrunner?

If you simply set up an Automation for JIRA rule (or maybe a Scriptrunner Listener) that is triggered by a change in the Resolution field (or by a status transition to your "done" statuses), then you could send an email immediately after the issues is resolved.

Tobias
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.
April 29, 2021

I will solve it with the hint of @John Funk. I will use an automation rule for this. This will trigger an event. At this point I am not sure how to set a new generic event. I will combine Automation for Jira with the Jira Email this Issue plugin. 

Suggest an answer

Log in or Sign up to answer