[Rt-commit] [rtir] 03/04: When linking an IR to an Incident, copy IPs

Kevin Falcone falcone at bestpractical.com
Fri Aug 15 14:19:52 EDT 2014


This is an automated email from the git hooks/post-receive script.

falcone pushed a commit to branch 3.2/merge-ips-on-link
in repository rtir.

commit 53de3dc8b99ac6fc6b298743c46e999e64b2c787
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Fri Aug 15 14:00:12 2014 -0400

    When linking an IR to an Incident, copy IPs
    
    When creating an Incident from an IR, we copy IPs, but we don't do that
    later when gathering up other IRs.  This seems strange, since you might
    be correlating IRs into an Incident on some attribute other than IP, you
    would want your Incident to easily contain all the IPs.
    
    Work earlier on this branch makes it straightforward to add new actions
    that copy other data up to the Incident on link as well.
    
    Resolves issues #23576
---
 etc/initialdata           | 5 +++++
 etc/upgrade/3.1.0/content | 7 +++++++
 2 files changed, 12 insertions(+)

diff --git a/etc/initialdata b/etc/initialdata
index 5f19b59..6a7f2ac 100644
--- a/etc/initialdata
+++ b/etc/initialdata
@@ -313,6 +313,11 @@
        ScripCondition    => 'RTIR Require IRs Activation',
        ScripAction       => 'RTIR Activate Ticket',
        Template          => 'Blank' },
+    {  Description       => "On Linking To Incident Copy IPs",
+       Queue             => 'Incident Reports',
+       ScripCondition    => 'RTIR Linking To Incident',
+       ScripAction       => 'RTIR merge IPs',
+       Template          => 'Blank' },
 
     {  Description       => "Set Due Date On Incident",
        Queue             => ['Incident Reports', 'Investigations', 'Blocks' ],
diff --git a/etc/upgrade/3.1.0/content b/etc/upgrade/3.1.0/content
index 83b1bfc..e4d44c4 100644
--- a/etc/upgrade/3.1.0/content
+++ b/etc/upgrade/3.1.0/content
@@ -40,4 +40,11 @@ our @Initial = (
     },
 );
 
+our @Scrips = (
+    {  Description       => "On Linking To Incident Copy IPs",
+       Queue             => 'Incident Reports',
+       ScripCondition    => 'RTIR Linking To Incident',
+       ScripAction       => 'RTIR merge IPs',
+       Template          => 'Blank' },
+);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list