Send updates by email
- Send updates by email
- Send an email to pre-configured contacts when a ticket log is updated
- Email Reply
This extension allows to send an email when updating the case log (either the public log or private log) of a Ticket. Email reply works with any type of Ticket. Attachments added while editing the ticket are automatically sent as attachments to the email.
This extension allows an administrator to define notifications in order to inform contacts (for instance the caller, or the agent) when a case log is updated on a Ticket.
This allows support agents to communicate with the callers directly by updating either the public log or the private log of the ticket.
The configuration relies on a specific type of Trigger (“on log update”) and the usual Email Actions. The definition of the Trigger object determines which field of the ticket (public_log, private_log…) is used for the feature.
The user can select the attachments to be sent with the message. Newly added attachments are automatically selected but can be manually deselected if needed.
This feature works only with attributes of type “Case log”, since it modifies the case log input.
Any update of the log through the portal will not trigger the
notification, use for this the standard trigger
from the portal).
|1.1.11||2017-06-14||Support for any type of ticket (used to require the installation of User Request Management).|
|1.1.10||2016-12-07||Fix for IE9 (removed the placeholder “please enter a comment” on all browsers) since it no longer works with HTML formatted case logs.|
|1.1.9||2016-07-21||Support of HTML formatted case logs (iTop 2.3.0), but still backwards compatible.|
|1.1.7||2015-10-26||Allow the module to be installed with only the Incident type of ticket|
|1.1.6||2015-10-05||Fixed two regressions introduced in 1.1.2: all existing attachments selected by default, fatal error when removing a selected attachment|
|1.1.5||2015-09-25||Compatibility with iTop 2.2.0 and custom portals (backward compatible)|
|1.1.4||2015-09-24||TriggerOnLogUpdate: allow read for anyone (category = application instead of bizmodel)|
|1.1.3||2015-03-05||Bug fix: the file “ajax.php” was missing from the 1.1.2 package.|
|1.1.2||2015-01-21||Adds the capability for the user to select which attachment to send with the reply.|
|1.1.1||2014-04-03||Adds the capability to send various notifications, depending on any condition that can be expressed by the mean of an OQL. Fixes issue #850: Contacts added while updating the tickets could not be notified (by the mean of a query in the email action)|
|1.0.1||2014-03-04||First officially qualified version|
Requires an iTop version 2.0.3 or higher.
Use the Standard installation process for this extension.
From the Admin tools/Notifications menu, create a trigger “when log is updated”, and select the expected object class and case log attribute code:
The optional argument 'Filter' is used to specialize the trigger. The filter is an OQL specifying which objects will be taken into account by the trigger. In the given example, the created trigger will be activated only for User Request having a Service named like “…Network…”.
Create an email action for this trigger. This email action can be configured as follows:
Status = any active state (e.g 'In production' or 'Being tested')
SELECT Person WHERE id = :this->caller_id
Dear $this->caller_id_friendlyname$, … $this->head(public_log)$ …
… plus other fields required to send notifications
$this->head(public_log)$adds the latest entry from the
public_logfield into the body of the notification.
There is one single parameter that can be adjusted in the configuration file:
|email-reply||enabled_default||boolean||Determines if the checkbox must be checked by default when the agent opens the form to edit the ticket||true|
Once this extension is installed and configured, you just have to modify the case log of a ticket to use it.
For instance if you modify a User Request, a small check box and paper clip icon appear on top of the public log to define if the public log update should trigger the notification or not:
The default behavior of the check box is configured in the iTop configuration file. If you uncheck it, no notification is sent.
All new attachments added during this modification of the Ticket will be sent along with the notification. As soon as a new attachment is added to the Ticket (while it is being edited) the number next to the paper clip increases. Moving the mouse over the paper clip icon displays a small tooltip with the list of files that will be sent as attachments with the notification.
[new since 1.1.2] The user can select the attachments to be sent along with the reply, by pressing the “Select Attachments…” button. This displays the following dialog box:
Click on the check-box in front of each desired attachment then click “Ok” to validate the choice.