- New datas for the setup: default trigger & email action

SVN:trunk[259]
This commit is contained in:
Denis Flaven
2010-01-17 17:33:04 +00:00
parent 6b35732280
commit 07d2f5e763
2 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Set>
<TriggerOnObjectCreate id="2">
<description>Incident Creation</description>
<target_class>bizIncidentTicket</target_class>
</TriggerOnObjectCreate>
</Set>

View File

@@ -0,0 +1,21 @@
<?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-&gt;caller_id</to>
<cc></cc>
<bcc></bcc>
<subject>New iTop ticket [$this-&gt;severity$]: $this-&gt;name$, $this-&gt;title$</subject>
<body>&lt;h1&gt;A new iTop incident has been created: $this-&gt;name$&lt;/h1&gt;
&lt;p&gt;Description: $this-&gt;title$&lt;/p&gt;
&lt;p&gt;Initial situation: &lt;pre&gt;$this-&gt;initial_situation$&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Ticket Type: $this-&gt;type$&lt;/p&gt;
&lt;p&gt;Ticket assigned to: $this-&gt;workgroup_name$&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;More information: $this-&gt;hyperlink()$&lt;/p&gt;</body>
<importance>normal</importance>
</ActionEmail>
</Set>