osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go
get it now
[plugin] Autocloser - closes old tickets
https://github.com/clonemeagain/plugin-autocloserAutomatically closes tickets that haven't been updated in a while.
Feel free to propose features in the issue queue.
Features:
- Define a maximum ticket age with no responses.
- Type a friendly message telling your users why their ticket is being auto closed (with full access to ticket variables).
- Let's you choose the start and end states. For instance, if you only want to autoclose tickets in the state Pending, you can.
- Batch the closure of old tickets on a schedule via cron, closes as many or as few at a time as you want.
- Apply filters to only autoclose expired tickets, or tickets that have been answered.
- Can even work with autocron!
Requires zero mods to core.
Built for 1.10.
Comments
Hello,
Thanks for developing the plugin, I need to know how to see if the plugin is working or some parameter is missing ...
I have configured the plugin to automatically close tickets with the status "Resolved" and change it to "Closed" if 2 days pass, the ticket still does not close.
Is there any way to view the activity logs of the plugin?
However, without seeing how you've configured it I couldn't say more precisely.
The extra logging can be enabled with a small change to the class, I'm thinking of making that an admin setting now. See the readme for details.
If you want to open an issue on GitHub with a screenshot of the plugin config, I'll replicate it on my end and see what's happening.
The most obvious thing to check: is have you enabled the plugin? You can install it and configure it without actually enabling it.
Unless you're not getting email when cron outputs text? Try manually running cron from the command line.
Thanks so much.
Regards
@mnavarro: it's part of configuring osticket, setting up cron, http://osticket.com/wiki/POP3/IMAP_Setting_Guide#Schedule_Polling maybe I shouldn't assume that everyone uses it the same way I do.
You can use autocron, just tick the box and reduce the number of tickets you want to close each time. Because autocron runs after agent activity.
const NUMBER_OF_SETTINGS = 4;
2. It's possible to add that, but currently not.
3. Should probably be NUMBER_OF_GROUPS really shouldn't it. One of the two: https://martinfowler.com/bliki/TwoHardThings.html