|
@@ -1,21 +1,63 @@
|
|
-<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
-<Set>
|
|
|
|
-<ActionEmail id="1">
|
|
|
|
-<name>Simple eMail</name>
|
|
|
|
-<description>Default eMail action, tailor it to fit your needs</description>
|
|
|
|
-<from></from>
|
|
|
|
-<reply_to></reply_to>
|
|
|
|
-<to>SELECT bizContact AS C WHERE C.id = :this->caller_id</to>
|
|
|
|
-<cc></cc>
|
|
|
|
-<bcc></bcc>
|
|
|
|
-<subject>New iTop ticket [$this->severity$]: $this->name$, $this->title$</subject>
|
|
|
|
-<body><h1>A new iTop incident has been created: $this->name$</h1>
|
|
|
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
+<Set>
|
|
|
|
+<ActionEmail id="4">
|
|
|
|
+<name>Incident Notification to a Workgroup</name>
|
|
|
|
+<description>This action informs a team that a ticket has been assigned their workgroup</description>
|
|
|
|
+<from></from>
|
|
|
|
+<reply_to></reply_to>
|
|
|
|
+<to>SELECT bizTeam AS t JOIN bizWorkgroup AS w ON w.team_id = t.id WHERE w.id=:this->workgroup_id</to>
|
|
|
|
+<cc></cc>
|
|
|
|
+<bcc></bcc>
|
|
|
|
+<subject>The ticket $this->name()$, severity $this->severity$ has been assigned to the workgroup $this->workgroup_name$</subject>
|
|
|
|
+<body><html>
|
|
|
|
+<body>
|
|
|
|
+<p>The incident ticket $this->name()$ has been assigned to the workgroup $this->workgroup_name$.</p>
|
|
<p>Description: $this->title$</p>
|
|
<p>Description: $this->title$</p>
|
|
-<p>Initial situation: <pre>$this->initial_situation$</pre></p>
|
|
|
|
-<p>Ticket Type: $this->type$</p>
|
|
|
|
-<p>Ticket assigned to: $this->workgroup_name$</p>
|
|
|
|
|
|
+<p>Initial Situation: $this->initial_situation$</p>
|
|
<hr/>
|
|
<hr/>
|
|
-<p>More information: $this->hyperlink()$</p></body>
|
|
|
|
-<importance>normal</importance>
|
|
|
|
-</ActionEmail>
|
|
|
|
-</Set>
|
|
|
|
|
|
+<p>for more information on this ticket, click here: $this->hyperlink()$</p>
|
|
|
|
+</body>
|
|
|
|
+</html></body>
|
|
|
|
+<importance>normal</importance>
|
|
|
|
+</ActionEmail>
|
|
|
|
+<ActionEmail id="2">
|
|
|
|
+<name>Incident notification to Agent</name>
|
|
|
|
+<description>This action informs an agent that a ticket has been assigned to her/him</description>
|
|
|
|
+<from></from>
|
|
|
|
+<reply_to></reply_to>
|
|
|
|
+<to>SELECT bizPerson WHERE id=:this->agent_id</to>
|
|
|
|
+<cc></cc>
|
|
|
|
+<bcc></bcc>
|
|
|
|
+<subject>The ticket $this->name()$, severity $this->severity$ has been assigned to you</subject>
|
|
|
|
+<body><html>
|
|
|
|
+<body>
|
|
|
|
+<p>The incident ticket $this->name()$ has been assigned to you.</p>
|
|
|
|
+<p>Description: $this->title$</p>
|
|
|
|
+<p>Initial Situation: $this->initial_situation$</p>
|
|
|
|
+<hr/>
|
|
|
|
+<p>for more information on this ticket, click here: $this->hyperlink()$</p>
|
|
|
|
+</body>
|
|
|
|
+</html></body>
|
|
|
|
+<importance>normal</importance>
|
|
|
|
+</ActionEmail>
|
|
|
|
+<ActionEmail id="3">
|
|
|
|
+<name>Incident Notification to caller</name>
|
|
|
|
+<description>This action is used to inform the caller</description>
|
|
|
|
+<from></from>
|
|
|
|
+<reply_to></reply_to>
|
|
|
|
+<to>SELECT bizPerson WHERE id=:this->caller_id</to>
|
|
|
|
+<cc></cc>
|
|
|
|
+<bcc></bcc>
|
|
|
|
+<subject>Ticket $this->name()$, severity $this->severity$ - $this->ticket_status$</subject>
|
|
|
|
+<body><html>
|
|
|
|
+<body>
|
|
|
|
+<p>The incident ticket $this->name()$ has changed to status $this->ticket_status$</p>
|
|
|
|
+<p>Current situation: $this->current_situation$</p>
|
|
|
|
+<p>Last update: $this->last_update$</p>
|
|
|
|
+<hr/>
|
|
|
|
+<p>for more information on this ticket, click here: $this->hyperlink()$</p>
|
|
|
|
+</body>
|
|
|
|
+</html></body>
|
|
|
|
+<importance>normal</importance>
|
|
|
|
+</ActionEmail>
|
|
|
|
+</Set>
|