On Thu, Jun 17, 2010 at 10:17:15AM -0700, Peter Roosakos wrote:
>    I was curious if anyone could point me to sample code snippet that would 
> allow me to retrieve
>    the value of a user custom field associated with the original 
> requestor/originator of a ticket
>    generated from an incoming email, from within a Scrip.  The ultimate goal 
> is, on create of a
>    new ticket in the queue associated with email generated tickets, inspect a 
> custom field for
>    the requestor of that ticket, and move the ticket to another queue based 
> on the value of the
>    requestor's custom field. I have found lots of examples to read values of 
> custom fields
>    associated directly with the ticket, but not user custom fields associated 
> with the original
>    requestor.

It sounds like you want something like
$self->TicketObj->CreatorObj->FirstCustomFieldValue('...')

-kevin

Attachment: pgpqkvAiPoySs.pgp
Description: PGP signature

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Reply via email to