I suggest that you take a look at
http://wiki.bestpractical.com/index.cgi?EditCustomFieldsOnUpdate . It
utilizes callback. This method requires you to create a customfield
called new_field3(as indicated in your email).
Look closely at the ‘BeforeDisplay’ portion of it because you may want
to do your things there. ‘BeforeDisplay’ is called with the arguments
TicketObj, Tickets and ARGSRef.
AnthonyOn Wed, 30 Mar 2005, Mattias Nordstrom wrote:
I’d like to do simple mathematic operations on the results page of a
search. The operation would be e.g. field1 + field2 = new_field3. Has
anyone done something like this before? If this is not possible, can it be
easily done using custom fields and a scrip? Any examples would be appreciated!
Oy Realnode Ab
RT Administrator and Developer training is coming to your town soon! (Boston, San Francisco, Austin, Sydney) Contact firstname.lastname@example.org for details.
Be sure to check out the RT Wiki at http://wiki.bestpractical.com