[Rt-commit] r4883 - in rtir/branches/1.9-EXPERIMENTAL: etc
ruz at bestpractical.com
ruz at bestpractical.com
Wed Mar 29 17:27:55 EST 2006
Author: ruz
Date: Wed Mar 29 17:27:54 2006
New Revision: 4883
Modified:
rtir/branches/1.9-EXPERIMENTAL/ (props changed)
rtir/branches/1.9-EXPERIMENTAL/etc/initialdata
Log:
r1093 at cubic-pc: cubic | 2006-03-30 02:27:25 +0400
* use new feature of the rt-setup-database script that allows you to create
scrips with the same properties in several queues at once
Modified: rtir/branches/1.9-EXPERIMENTAL/etc/initialdata
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/etc/initialdata (original)
+++ rtir/branches/1.9-EXPERIMENTAL/etc/initialdata Wed Mar 29 17:27:54 2006
@@ -437,33 +437,13 @@
Template => 'NewMessage' },
{ Description => "DetectUserResponse",
- Queue => 'Incident Reports',
- ScripCondition => 'RTIR Customer Response',
- ScripAction => 'RTIR Set Due to Now',
- Template => 'Blank' },
- { Description => "DetectUserResponse",
- Queue => 'Investigations',
- ScripCondition => 'RTIR Customer Response',
- ScripAction => 'RTIR Set Due to Now',
- Template => 'Blank' },
- { Description => "DetectUserResponse",
- Queue => 'Blocks',
+ Queue => [ 'Incident Reports', 'Investigations', 'Blocks' ],
ScripCondition => 'RTIR Customer Response',
ScripAction => 'RTIR Set Due to Now',
Template => 'Blank' },
{ Description => "DetectStaffResponse",
- Queue => 'Incident Reports',
- ScripCondition => 'RTIR Staff Response',
- ScripAction => 'RTIR Set Due Correspond',
- Template => 'Blank' },
- { Description => "DetectStaffResponse",
- Queue => 'Investigations',
- ScripCondition => 'RTIR Staff Response',
- ScripAction => 'RTIR Set Due Correspond',
- Template => 'Blank' },
- { Description => "DetectStaffResponse",
- Queue => 'Blocks',
+ Queue => [ 'Incident Reports', 'Investigations', 'Blocks' ],
ScripCondition => 'RTIR Staff Response',
ScripAction => 'RTIR Set Due Correspond',
Template => 'Blank' },
@@ -472,20 +452,9 @@
Queue => 'Incidents',
ScripCondition => 'On Create',
ScripAction => 'RTIR Set Starts to Now',
- CustomPrepareCode => '1',
Template => 'Blank' },
{ Description => "SetStarts",
- Queue => 'Incident Reports',
- ScripCondition => 'On Create',
- ScripAction => 'RTIR Set Starts by Business Hours',
- Template => 'Blank' },
- { Description => "SetStarts",
- Queue => 'Investigations',
- ScripCondition => 'On Create',
- ScripAction => 'RTIR Set Starts by Business Hours',
- Template => 'Blank' },
- { Description => "SetStarts",
- Queue => 'Blocks',
+ Queue => [ 'Incident Reports', 'Investigations', 'Blocks' ],
ScripCondition => 'On Create',
ScripAction => 'RTIR Set Starts by Business Hours',
Template => 'Blank' },
@@ -496,12 +465,7 @@
ScripAction => 'RTIR Set Due by SLA',
Template => 'Blank' },
{ Description => "SetDue",
- Queue => 'Investigations',
- ScripCondition => 'On Create',
- ScripAction => 'RTIR Set Due Correspond',
- Template => 'Blank' },
- { Description => "SetDue",
- Queue => 'Blocks',
+ Queue => [ 'Investigations', 'Blocks' ],
ScripCondition => 'On Create',
ScripAction => 'RTIR Set Due Correspond',
Template => 'Blank' },
@@ -512,44 +476,19 @@
ScripAction => 'RTIR Set Due by SLA',
Template => 'Blank' },
{ Description => "SetDueOnQueueChange",
- Queue => 'Investigations',
- ScripCondition => 'On Queue Change',
- ScripAction => 'RTIR Set Due Correspond',
- Template => 'Blank' },
- { Description => "SetDueOnQueueChange",
- Queue => 'Blocks',
+ Queue => [ 'Investigations', 'Blocks' ],
ScripCondition => 'On Queue Change',
ScripAction => 'RTIR Set Due Correspond',
Template => 'Blank' },
{ Description => "UnsetDue",
- Queue => 'Incident Reports',
- ScripCondition => 'RTIR Close Ticket',
- ScripAction => 'RTIR Unset Due',
- Template => 'Blank' },
- { Description => "UnsetDue",
- Queue => 'Investigations',
- ScripCondition => 'RTIR Close Ticket',
- ScripAction => 'RTIR Unset Due',
- Template => 'Blank' },
- { Description => "UnsetDue",
- Queue => 'Blocks',
+ Queue => [ 'Incident Reports', 'Investigations', 'Blocks' ],
ScripCondition => 'RTIR Close Ticket',
ScripAction => 'RTIR Unset Due',
Template => 'Blank' },
{ Description => "SetDueReopen",
- Queue => 'Incident Reports',
- ScripCondition => 'RTIR Reopen Ticket',
- ScripAction => 'RTIR Set Due Reopen',
- Template => 'Blank' },
- { Description => "SetDueReopen",
- Queue => 'Investigations',
- ScripCondition => 'RTIR Reopen Ticket',
- ScripAction => 'RTIR Set Due Reopen',
- Template => 'Blank' },
- { Description => "SetDueReopen",
- Queue => 'Blocks',
+ Queue => [ 'Incident Reports', 'Investigations', 'Blocks' ],
ScripCondition => 'RTIR Reopen Ticket',
ScripAction => 'RTIR Set Due Reopen',
Template => 'Blank' },
@@ -610,33 +549,13 @@
ScripAction => 'RTIR Change Child Ownership',
Template => 'Blank', },
{ Description => "FixOwnership",
- Queue => 'Incident Reports',
- ScripCondition => 'On Owner Change',
- ScripAction => 'RTIR Change Parent Ownership',
- Template => 'Blank', },
- { Description => "FixOwnership",
- Queue => 'Investigations',
- ScripCondition => 'On Owner Change',
- ScripAction => 'RTIR Change Parent Ownership',
- Template => 'Blank', },
- { Description => "FixOwnership",
- Queue => 'Blocks',
+ Queue => [ 'Incident Reports', 'Investigations', 'Blocks' ],
ScripCondition => 'On Owner Change',
ScripAction => 'RTIR Change Parent Ownership',
Template => 'Blank', },
{ Description => "ReopenIncident",
- Queue => 'Incident Reports',
- ScripCondition => 'On Status Change',
- ScripAction => 'RTIR Open Parent',
- Template => 'Blank', },
- { Description => "ReopenIncident",
- Queue => 'Investigations',
- ScripCondition => 'On Status Change',
- ScripAction => 'RTIR Open Parent',
- Template => 'Blank', },
- { Description => "ReopenIncident",
- Queue => 'Blocks',
+ Queue => [ 'Incident Reports', 'Investigations', 'Blocks' ],
ScripCondition => 'On Status Change',
ScripAction => 'RTIR Open Parent',
Template => 'Blank', },
More information about the Rt-commit
mailing list