From cd34706f94273cf381952f57c5fcb7d6910fbae0 Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 13 May 2011 23:20:53 +0000 Subject: notify on custom field change, #11274 --- rt/etc/initialdata | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'rt/etc/initialdata') diff --git a/rt/etc/initialdata b/rt/etc/initialdata index 9b5506b02..fc2ed2ffb 100644 --- a/rt/etc/initialdata +++ b/rt/etc/initialdata @@ -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 @@ Hour: { $SubscriptionObj->SubValue('Hour') } } } }, + { 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()} +], + }, + ); # }}} -- cgit v1.2.1