[Rt-commit] r5688 - in rtir/branches/2.1-EXPERIMENTAL: . etc

ruz at bestpractical.com ruz at bestpractical.com
Wed Aug 2 15:51:47 EDT 2006


Author: ruz
Date: Wed Aug  2 15:51:43 2006
New Revision: 5688

Added:
   rtir/branches/2.1-EXPERIMENTAL/etc/upgrade/2.1.0/
   rtir/branches/2.1-EXPERIMENTAL/etc/upgrade/2.1.0/content
Modified:
   rtir/branches/2.1-EXPERIMENTAL/   (props changed)
   rtir/branches/2.1-EXPERIMENTAL/etc/initialdata

Log:
 r1539 at cubic-pc:  cubic | 2006-08-02 07:00:01 +0400
 * _RTIR_IP -> multiple values and apply it to all RTIR queues


Modified: rtir/branches/2.1-EXPERIMENTAL/etc/initialdata
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/etc/initialdata	(original)
+++ rtir/branches/2.1-EXPERIMENTAL/etc/initialdata	Wed Aug  2 15:51:43 2006
@@ -280,8 +280,8 @@
     },
     {
         Name        => '_RTIR_IP',
-        Type        => 'FreeformSingle',
-        Queue       => 'Blocks',
+        Type        => 'FreeformMultiple',
+        Queue       => ['Incidents', 'Incident Reports', 'Investigations', 'Blocks'],
         Disabled    => 0,
         Description => 'IP address for Blocks RTIR queue',
     },
@@ -398,6 +398,10 @@
        Description => 'Set the default resolution of an Incident' ,                                            # loc
        ExecModule => 'RTIR_SetIncidentResolution',
     },
+    {  Name        => 'RTIR parse message for IPs',    # loc
+       Description => 'Set IP custom field from message content' ,                                            # loc
+       ExecModule  => 'RTIR_FindIP',
+    },
 );
 
 @ScripConditions = (
@@ -581,6 +585,17 @@
        ScripCondition    => 'RTIR Close Ticket',
        ScripAction       => 'Notify Requestors',
        Template          => 'BlockRemoved' },
+
+    {  Description       => "SetIPFromContent",
+       Queue             => ['Incidents', 'Incident Reports', 'Investigations', 'Blocks'],
+       ScripCondition    => 'On Correspond',
+       ScripAction       => 'RTIR parse message for IPs',
+       Template          => 'Blank' },
+    {  Description       => "SetIPFromContent",
+       Queue             => ['Incidents', 'Incident Reports', 'Investigations', 'Blocks'],
+       ScripCondition    => 'On Create',
+       ScripAction       => 'RTIR parse message for IPs',
+       Template          => 'Blank' },
 );
 
 # WARNING: If you change content of the templates, don't forget to

Added: rtir/branches/2.1-EXPERIMENTAL/etc/upgrade/2.1.0/content
==============================================================================
--- (empty file)
+++ rtir/branches/2.1-EXPERIMENTAL/etc/upgrade/2.1.0/content	Wed Aug  2 15:51:43 2006
@@ -0,0 +1,2 @@
+# XXX: apply _RTIR_IP field to all RTIR's queues
+# and convert it from FreeformSingle to Multiple


More information about the Rt-commit mailing list