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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to close issues automatically?

We want close issues that were resolved three days ago, but we didn´t found how to configure this in Automation.

The rule is simple:
If issue are in status Resolved for three days
Then change to status Closed
And send a comment with text "xxx"

Its possible an automation for this?

1 answer

1 accepted

If you are using Automation for Jira, the best way to trigger this job is using "Scheduled" option.

1) Create a automation rule to run daily at specific time(eg: 7:15 AM)

0 15 7 ? * *

2) Add condition to filter issues based on updated time 

updated < -3d 

3) In Action section, transition these tickets to Closed status

Make sure your plugin has permission to do this transition.

Hi Aswin,

Ok, I understood how to do this.

Is there a way to config this 3 days to be 3 work days (without count weekend)?

@Aswin Achuthan can you confirm this point of work days?

@Rodrigo Marques that is not possible in Automation for Jira (AFAIK at least)
one workaround that I can think of is creating separate automation for Monday, Tuesday, and Wednesday so that it can check for 5d, 6d and 7d respectively. So you might need to create 4 automation rule

OK @Aswin Achuthan, thanks for your help!

@Rodrigo Marques 

not 100% sure at least avoiding the weekends the default SD automation should help as it should be only "business days" - however I am not sure if Saturday will be counted as business days or how it is calculated e.g. if you are working in Israel

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

464 views 5 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you