mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
Updated benchmark tool and sample data with new data model names and attributes
SVN:trunk[677]
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Set>
|
||||
<ActionEmail id="4">
|
||||
<ActionEmail id="1">
|
||||
<name>Incident 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>
|
||||
<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>
|
||||
<to>SELECT Team WHERE 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>
|
||||
<subject>The ticket $this->name()$, priority $this->priority$ 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>Initial Situation: $this->initial_situation$</p>
|
||||
<p>Title: $this->title$</p>
|
||||
<hr/>
|
||||
<p>for more information on this ticket, click here: $this->hyperlink()$</p>
|
||||
</body>
|
||||
@@ -29,15 +29,15 @@
|
||||
<test_recipient></test_recipient>
|
||||
<from></from>
|
||||
<reply_to></reply_to>
|
||||
<to>SELECT bizPerson WHERE id=:this->agent_id</to>
|
||||
<to>SELECT Person WHERE id=:this->agent_id</to>
|
||||
<cc></cc>
|
||||
<bcc></bcc>
|
||||
<subject>The ticket $this->name()$, severity $this->severity$ has been assigned to you</subject>
|
||||
<subject>The ticket $this->name()$, priority $this->priority$ 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>
|
||||
<p>Title: $this->title$</p>
|
||||
<hr/>
|
||||
<p>for more information on this ticket, click here: $this->hyperlink()$</p>
|
||||
</body>
|
||||
@@ -51,10 +51,10 @@
|
||||
<test_recipient></test_recipient>
|
||||
<from></from>
|
||||
<reply_to></reply_to>
|
||||
<to>SELECT bizPerson WHERE id=:this->caller_id</to>
|
||||
<to>SELECT Person WHERE id=:this->caller_id</to>
|
||||
<cc></cc>
|
||||
<bcc></bcc>
|
||||
<subject>Ticket $this->name()$, severity $this->severity$ - $this->ticket_status$</subject>
|
||||
<subject>Ticket $this->name()$, priority $this->priority$ - $this->ticket_status$</subject>
|
||||
<body><html>
|
||||
<body>
|
||||
<p>The incident ticket $this->name()$ has changed to status $this->ticket_status$</p>
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
<order>1</order>
|
||||
</lnkTriggerAction>
|
||||
<lnkTriggerAction id="7">
|
||||
<action_id>4</action_id>
|
||||
<action_id>1</action_id>
|
||||
<trigger_id>2</trigger_id>
|
||||
<order>1</order>
|
||||
</lnkTriggerAction>
|
||||
</Set>
|
||||
</Set>
|
||||
|
||||
@@ -566,7 +566,7 @@ abstract class ResponseTicket extends Ticket
|
||||
// $oNewLink->Set('role', 'created before');
|
||||
// $oToNotify->AddObject($oNewLink);
|
||||
|
||||
$oImpactedInfras = DBObjectSet::FromLinkSet($this, 'impacted_infra_manual', 'infra_id');
|
||||
$oImpactedInfras = DBObjectSet::FromLinkSet($this, 'impacted_infra_manual', 'ci_id');
|
||||
|
||||
$aComputed = $oImpactedInfras->GetRelatedObjects('impacts', 10);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user