- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2014 06:53 AM
how do I limit the time of when a user can reopen an incident i.e. after 30 days they can't reopen?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-24-2014 07:39 AM
Sorry, i think i made a blunder here. I reversed the operator
replace this line
if(difference < thirtyDays )
with this
if(difference > thirtyDays )
I just cross checked it on a demo instance, it seems to work fine there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2014 07:40 AM
But wots the point of showing the ReOpen button when you its not supposed to do anything. It should be visible only where it is supposed to make any change , ie tickets that can be reopened.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2014 07:52 AM
We have been having issues of employees using that button after 6 months has gone by. Most time their issue isn't the same, they just didn't want to fill out a new request. So we would like to limit the button to 30 days of the closed state.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2014 07:56 AM
Exactly my point.
So here are your 2 options, choose and proceed
1) after 30 days passed since the ticket closed - reopen option not available
2) after 30 days passed since the ticket closed - reopen option available but thrown an error when clicked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2014 08:06 AM
yes, I think I prefer the first option where they don't even see it after 30 days.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2014 04:02 PM
Consider using different statuses for this. Out-of-box you have Resolved and Closed statuses. Incidents can automatically go from Resolved to Closed after X days. Use glide.ui.autoclose.time system property for this. Then you could simply allow your users to reopen Resolved incidents but not Closed incidents.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/