The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Close software/ business project tickets with automation

Gerda Tilk
June 7, 2021

Hi

Probably the answer is listed somewhere already but I wasn't able to  find it

 

So we want to set up automatic closure of tickets for a business project in jira. 

The rule should be that if it is in any status - not updated for the past 10 days - ticket closes automatically

Is it possible to set this up?

Thanks

Gerda

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Callum Carlile _Automation Consultants_
Community Champion
June 8, 2021

Hi @Gerda Tilk Yes this is possible :)

What I would do is set up a rule with a scheduled trigger, which is set to tun every day (e.g. 9am ever day). Within this scheduled trigger, you are able to add a JQL which will action all of the issues found as part of the schedule.

Within the JQL, you will need to include updated < -10d, and you can add any other issue type or other statements if needed. You can then use the Transition Issues action to close these issues.

Hope this helps!

0 votes
Gerda Tilk
June 10, 2021

Thank you, it worked

0 votes
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 Champions.
June 8, 2021

Hi @Gerda Tilk 

Do you mean no updates at all or just no status changes? 

If want to check status changes you could use this JQL in your rule, replacing your project and whichever statusCategory values you are interested in checking.

project = myProject
AND statusCategory IN ("In Progress")
AND NOT status CHANGED AFTER -10d

However, do you want to just close those tickets, or abandon them?  If abandon, you may want to add a comment or some other indicator that the work was abandoned rather than completed.

Best regards,

Bill