Expire Jira issue based on field

I created a Jira project for our "outage log". It will house outages and both planned and unplanned maintenance. We use to use a confluence page but wanted better reporting.

Certain people in IT and support will create an issue for individual outages. Specifically for the planned maintenance I would like to set an expiration date of sorts using a custom field. So that the issues closes itself when the expiration date/time is met the issue will close itself.

How can we accomplish this?

1 answer

1 accepted

Accepted Answer
1 vote

I'd suggest installing the script runner plugin. from there, you can write a service in groovy that runs every few minutes. in that service, it would look over this "outage log" project reviewing the custom field for the expiration date. in the event that the expiration date is in the past, it would advance it to a done status.

Sounds like a viable option. We will give this a try.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

27,433 views 2 7
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you