Forums

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

Ability to auto-close issues

Sysad
Contributor
July 6, 2020

Hi All

Is there a way to auto-close issues after 7 days in "XYZ" Status?

I tried using script runner's  Date of First Transition scripted field and selected the status and set to date time range picker, this displays time on issue navigator column and in view issue, but I can JQL it

Did I choose the wrong thing or missing something? or is there any other way? I am trying to use escalation jobs as well, but JQL isnt making sense if I try 

project =abd and status=xyz and status changed before -7d

 

BEFORE means before today and 6days ago?

 

Any help is appreciated 

1 answer

1 accepted

0 votes
Answer accepted
Italo Qualisoni [e-Core]
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 6, 2020

Hi @Sysad ,

Usually we use updated field on JQL, you can see the documentation here Close Issues Waiting for Customers

Your JQL would be (All issues from your project abd with status wyz that have not being updated in the last 7+ days):

project =abd and status=xyz and updated < -7d 

Sysad
Contributor
July 9, 2020

Thank you for the insight!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.5
TAGS
AUG Leaders

Atlassian Community Events