[rt-users] CustomField Transactions Options?

Emmanuel Lacour elacour at easter-eggs.com
Mon Jun 24 11:58:12 EDT 2013


On Mon, Jun 24, 2013 at 08:26:53AM -0700, namespace wrote:
> I have a custom field entry that when selected, I want to automatically add a
> watcher to the ticket in question.  As it stands,  this CustomField called
> *'Service Type'* has an entry for PO's that when selected should add
> 'purchasing at fibermedia.net' as a watcher without having the operator
> manually add the entry.  I don't see anywhere in the customfield options to
> add a watcher, only to notify existing individuals associated with the
> ticket.  Anyone got any input on this?
> 


You have to do this with a "scrip".

Your scrip can be global or only on some queues.

As scrip condition, you have to write your own by selecting "User
defined". You're condition shoudl check that this transactions happens
on this CustomField and matches the wanted change.
As scrip action, you have also to write your own as "User defined", and
use the appropriate method of the RT API
(http://www.bestpractical.com/rt/docs/4.0/RT/Ticket.html#AddWatcher) to
add the watcher.
As a template, you can select "blank".

-- 
Easter-eggs                              Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -   Fax: +33 (0) 1 43 35 00 76
mailto:elacour at easter-eggs.com  -   http://www.easter-eggs.com



More information about the rt-users mailing list