Add a transition condition based on time in status

I've been given a new requirement to update our workflow so that an issue cannot be reopened if it's been closed for more than 30 days. Is this possible? 

1 answer

Hi,

Did you try this plugin JMWE, you can run a script in post function.

We have that plugin. I guess what I'm asking is, how do you access the date an issue was closed? Is that stored natively in Jira, or will it only work if I add a custom field that gets set when the issue is closed? I'm assuming since there are native charts and reports that display time in status, it should be available somewhere, but where?

 JIRA captures resolved date similar to closed date when the issue is closed and resolution set to done.

Resolved date isn't always the same as Closed date, but I guess if that's the closest we can get, I'll take it.

Yes, you can use that date. When issue resolution is done(Completely closed) it will capture the resolved date.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

147 views 1 17
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