[Rt-commit] r3131 - in RT-Action-ExtractSubjectTag: . etc

kevinr at bestpractical.com kevinr at bestpractical.com
Fri Jun 10 15:36:26 EDT 2005


Author: kevinr
Date: Fri Jun 10 15:36:25 2005
New Revision: 3131

Modified:
   RT-Action-ExtractSubjectTag/   (props changed)
   RT-Action-ExtractSubjectTag/README
   RT-Action-ExtractSubjectTag/etc/initialdata
Log:
 r4170 at STRATTON-ONE-THIRTY-THREE:  kevinr | 2005-06-10 15:36:00 -0400
 * Included the relevant information about setting template headers in the 
 README
 * moved scrip creation into initialdata so the Makefile will do it automagically


Modified: RT-Action-ExtractSubjectTag/README
==============================================================================
--- RT-Action-ExtractSubjectTag/README	(original)
+++ RT-Action-ExtractSubjectTag/README	Fri Jun 10 15:36:25 2005
@@ -26,13 +26,26 @@
 $ make
 $ make install
 
-Before the Scrip will actually work, you must add a new Global Scrip,
-with the following parameters:  (Go to "Configuration.. Global.. Scrips")
+Before the Scrip will actually work, you must run:
 
+$ make initdb
+
+which will create a new global scrip:
+
+  Description: On transaction, add any tags in the transaction's subject 
+               to the ticket's subject
   Condition: On Transaction
   Action: ExtractSubjectTag
   Template: Blank
   Stage: TransactionCreate
+
+In order to prevent the other RT instance's auto-response to your RT's resolve
+message from re-opening your resolved ticket, any RT instance you will be 
+interacting with needs to have the header
+
+  RT-Control: no-autoopen
+
+included in its default resolve template.
   
 CONFIGURATION ---
 

Modified: RT-Action-ExtractSubjectTag/etc/initialdata
==============================================================================
--- RT-Action-ExtractSubjectTag/etc/initialdata	(original)
+++ RT-Action-ExtractSubjectTag/etc/initialdata	Fri Jun 10 15:36:25 2005
@@ -1,8 +1,19 @@
 # -*- perl -*-
 
 @ScripActions = (
- { Name        => 'ExtractSubjectTag',
+ { Name        => 'Extract Subject Tag',
    Description => 'Extract tags from a Transaction\'s subject and add them to the Ticket\'s subject.',
    ExecModule  => 'ExtractSubjectTag',
  },
 );
+
+ at Scrips= (
+  { Description         => "On transaction, add any tags in the transaction's subject to the ticket's subject",
+    Queue               => 0,
+    ScripCondition      => 'On Transaction',
+    ScripAction         => 'Extract Subject Tag',
+    Template            => 'Blank',
+  }
+);
+
+1;


More information about the Rt-commit mailing list