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

1 vote
Accepted answer

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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,317 views 5 11
Read article

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