[rt-users] RT 3.0.6 - Custom Scrip Conditions on Custom Field changes

Ruslan U. Zakirov cubic at acronis.ru
Fri Oct 31 14:19:35 EST 2003


BJ Blanchard wrote:
>>>Now I'm looking to build a custom scrip action which adds a ticket
>>>watcher as a "Cc".
>>
>>Why? 'Notify Requestors, Ccs and AdminCcs' - it's all watchers in RT.
>>
> 
> I don't want to notify, I want to *add* a watcher.  Business scenario is
> this:  If a ticket is Critical (custom field condition), then add
> manager to Cc list for ticket.. ie. don't want to watch the queue, only
> tickets flaged critical.
> 
> BJ.
> 
Sorry for that.
my ($status, $msg) = $TicketObj->AddWatcher(Type => 'Cc', Email => 
'foo at bar.com');
die $msg unless( $status );





More information about the rt-users mailing list