Dispatched sample data for notifications (user requests vs incident tickets)

SVN:trunk[836]
This commit is contained in:
Romain Quetiez
2010-09-13 10:16:09 +00:00
parent eb81fcf9c7
commit 4997c2148b
9 changed files with 52 additions and 12 deletions

View File

@@ -775,8 +775,6 @@ Dict::Add('FR FR', 'French', 'Français', array(
'Menu:ExportMenu' => 'Exportation',
'Menu:ExportMenu+' => 'Exportation des résultats d\'une requête en HTML, CSV ou XML',
'Menu:IncidentManagementMenu' => 'Gestion des Incidents',
'Menu:IncidentManagementMenu+' => 'Gestion des Incidents',
'UI:IncidentManagementMenu:Title' => 'Résumé des incidents',
'UI-IncidentManagementMenu-IncidentsByType' => 'Incidents par type',
'UI-IncidentManagementMenu-IncidentsByStatus' => 'Incidents par état',

View File

@@ -31,7 +31,8 @@ SetupWebPage::AddModule(
'es_cr.dict.itop-incident-mgmt.php',
),
'data.struct' => array(
//'data.struct.itop-incident-mgmt.xml',
'data.struct.ta-triggers.xml',
'data.struct.ta-links.xml',
),
'data.sample' => array(
//'data.sample.itop-incident-mgmt.xml',

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<Set>
<lnkTriggerAction id="4">
<action_id>2</action_id>
<trigger_id>50</trigger_id>
<order>1</order>
</lnkTriggerAction>
<lnkTriggerAction id="5">
<action_id>3</action_id>
<trigger_id>50</trigger_id>
<order>2</order>
</lnkTriggerAction>
<lnkTriggerAction id="6">
<action_id>3</action_id>
<trigger_id>60</trigger_id>
<order>1</order>
</lnkTriggerAction>
<lnkTriggerAction id="7">
<action_id>1</action_id>
<trigger_id>20</trigger_id>
<order>1</order>
</lnkTriggerAction>
</Set>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<Set>
<TriggerOnObjectCreate id="20">
<description>User Request ticket creation</description>
<target_class>UserRequest</target_class>
</TriggerOnObjectCreate>
<TriggerOnStateEnter id="50">
<description>User Request ticket assigned to agent</description>
<target_class>UserRequest</target_class>
<state>assigned</state>
</TriggerOnStateEnter>
<TriggerOnStateEnter id="60">
<description>User Request ticket resolved</description>
<target_class>UserRequest</target_class>
<state>resolved</state>
</TriggerOnStateEnter>
</Set>

View File

@@ -30,7 +30,8 @@ SetupWebPage::AddModule(
'es_cr.dict.itop-request-mgmt.php',
),
'data.struct' => array(
//'data.struct.itop-request-mgmt.xml',
'data.struct.ta-triggers.xml',
'data.struct.ta-links.xml',
),
'data.sample' => array(
//'data.sample.itop-request-mgmt.xml',

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Set>
<ActionEmail id="1">
<name>Incident Notification to a Workgroup</name>
<name>Notification to a Workgroup</name>
<description>This action informs a team that a ticket has been assigned their workgroup</description>
<status>disabled</status>
<test_recipient></test_recipient>
@@ -13,7 +13,7 @@
<subject>The ticket $this-&gt;name()$, priority $this-&gt;label(priority)$ has been assigned to the workgroup $this-&gt;workgroup_name$</subject>
<body>&lt;html&gt;
&lt;body&gt;
&lt;p&gt;The incident ticket $this-&gt;name()$ has been assigned to the workgroup $this-&gt;workgroup_name$.&lt;/p&gt;
&lt;p&gt;The ticket $this-&gt;name()$ has been assigned to the workgroup $this-&gt;workgroup_name$.&lt;/p&gt;
&lt;p&gt;Description: $this-&gt;title$&lt;/p&gt;
&lt;p&gt;Title: $this-&gt;title$&lt;/p&gt;
&lt;hr/&gt;
@@ -23,7 +23,7 @@
<importance>normal</importance>
</ActionEmail>
<ActionEmail id="2">
<name>Incident notification to Agent</name>
<name>Notification to Agent</name>
<description>This action informs an agent that a ticket has been assigned to her/him</description>
<status>disabled</status>
<test_recipient></test_recipient>
@@ -35,7 +35,7 @@
<subject>The ticket $this-&gt;name()$, priority $this-&gt;label(priority)$ has been assigned to you</subject>
<body>&lt;html&gt;
&lt;body&gt;
&lt;p&gt;The incident ticket $this-&gt;name()$ has been assigned to you.&lt;/p&gt;
&lt;p&gt;The ticket $this-&gt;name()$ has been assigned to you.&lt;/p&gt;
&lt;p&gt;Description: $this-&gt;title$&lt;/p&gt;
&lt;p&gt;Title: $this-&gt;title$&lt;/p&gt;
&lt;hr/&gt;
@@ -45,7 +45,7 @@
<importance>normal</importance>
</ActionEmail>
<ActionEmail id="3">
<name>Incident Notification to caller</name>
<name>Notification to caller</name>
<description>This action is used to inform the caller</description>
<status>disabled</status>
<test_recipient></test_recipient>
@@ -57,7 +57,7 @@
<subject>Ticket $this-&gt;name()$, priority $this-&gt;label(priority)$ - $this-&gt;status$</subject>
<body>&lt;html&gt;
&lt;body&gt;
&lt;p&gt;The incident ticket $this-&gt;name()$ has changed to status $this-&gt;status$&lt;/p&gt;
&lt;p&gt;The ticket $this-&gt;name()$ has changed to status $this-&gt;status$&lt;/p&gt;
&lt;p&gt;Last update: $this-&gt;last_update$&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;for more information on this ticket, click here: $this-&gt;hyperlink(portal)$&lt;/p&gt;

View File

@@ -29,9 +29,7 @@ SetupWebPage::AddModule(
'es_cr.dict.itop-tickets.php',
),
'data.struct' => array(
'data.struct.ta-triggers.xml',
'data.struct.ta-actions.xml',
'data.struct.ta-links.xml',
),
'data.sample' => array(
),