- Autoclose Ticket
- Auto close resolved User Request and Incident tickets
This page describes how the extension combodo auto close allows iTop to automatically close resolved User Request and Incident after a configured delay.
This extension adds a new background process handled by cron.php to automatically close User Request and Incident according to the autoclosure delay defined in the iTop configuration file.
This extension is not handling Change and Problem tickets.
|2016-08-10||1.0.1||Performance optimization: do not load all the columns of the tickets in the query.|
Download the package: autoclose-ticket-1.0.1-164.zip and expand the folder “combodo-autoclose-ticket” into the “extensions” directory of iTop.
If you have already installed iTop make sure that the configuration file
conf/productionis NOT read-only.
Point your web browser to
http(s)://<your_itop_root>/setupand follow the wizard. Make sure that you select the option to “Upgrade an existing iTop instance”:
Finally check the module “Auto closure of Incident and User Request” in the list of extensions at the end of the interactive wizard. Then complete the installation.
Once the new module has been installed, edit the configuration file config-itop.php and look for the following new section:
'combodo-autoclose-ticket' => array ( 'incident_autoclose_delay' => '7', 'userrequest_autoclose_delay' => '7', ),
This section allows you to define the value for the auto closure delay for incident and user request.
Delays are given in days. By default, incident and user request are closed automatically after 7 days.
The automatic closure of the incidents and the user requests is handled by the service cron.php once a day. Make sure this one is scheduled to run on your system. More information in the chapter about Background tasks.
To check the status of this service, use the command:
php webservice/cron.php --auth_user=user --auth_pwd=password --status_only=1
When a user request or an incident is closed automatically, the user satisfaction is set to the default value defined in the data model: “Very satisfied”