mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
- New datas for the setup: default trigger & email action
SVN:trunk[259]
This commit is contained in:
7
setup/data/structure/23.triggers.xml
Normal file
7
setup/data/structure/23.triggers.xml
Normal 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>
|
||||
21
setup/data/structure/24.actions.xml
Normal file
21
setup/data/structure/24.actions.xml
Normal 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->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>
|
||||
<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>
|
||||
<hr/>
|
||||
<p>More information: $this->hyperlink()$</p></body>
|
||||
<importance>normal</importance>
|
||||
</ActionEmail>
|
||||
</Set>
|
||||
Reference in New Issue
Block a user