[freeside-commits] freeside/rt/etc initialdata,1.1.1.9,1.2

Mark Wells mark at wavetail.420.am
Fri May 13 16:20:54 PDT 2011


Update of /home/cvs/cvsroot/freeside/rt/etc
In directory wavetail.420.am:/tmp/cvs-serv27525/rt/etc

Modified Files:
	initialdata 
Log Message:
notify on custom field change, #11274

Index: initialdata
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/etc/initialdata,v
retrieving revision 1.1.1.9
retrieving revision 1.2
diff -u -w -d -r1.1.1.9 -r1.2
--- initialdata	17 Feb 2011 00:18:52 -0000	1.1.1.9
+++ initialdata	13 May 2011 23:20:52 -0000	1.2
@@ -97,6 +97,13 @@
     { Name        => 'Extract Subject Tag',                               # loc
       Description => 'Extract tags from a Transaction\'s subject and add them to the Ticket\'s subject.', # loc
       ExecModule  => 'ExtractSubjectTag' },
+
+    #freeside
+    { Name        => 'Set Priority',
+      Description => 'Set ticket priority',
+      ExecModule  => 'SetPriority',
+      Argument    => '',
+    },
 );
 
 @ScripConditions = (
@@ -185,6 +192,18 @@
        ExecModule           => 'ReopenTicket',
     },
 
+    #freeside
+    {  Name                 => 'On Custom Field Transaction',
+       Description          => 'When a custom field is changed',
+       ExecModule           => 'CustomFieldTransaction',
+       ApplicableTransTypes => 'Any',
+    },
+    {  Name                 => 'On Custom Field Change',
+       Description          => 'When a custom field is changed to some value',
+       ExecModule           => 'CustomFieldChange',
+       ApplicableTransTypes => 'Any',
+    },
+
 );
 
 @Templates = (
@@ -486,6 +505,17 @@
 }
 }
 },
+    {  Queue       => 0,
+       Name        => 'Custom Field Transaction',
+       Description => 'Custom field value changed',
+       Content     => q[Subject: {$Transaction->BriefDescription()}
+
+{RT->Config->Get('WebURL')}Ticket/Display.html?id={$Ticket->id}
+
+{$Transaction->Content()}
+],
+    },
+
 );
 # }}}
 



More information about the freeside-commits mailing list