On Sat, Sep 11, 2010 at 05:07:21PM +0800, nectar wrote:
> Sir
>
> We can use {$Ticket->FirstCustomFieldValue('name')} to get custom
> fileds which apply ticket, and use
> {$Ticket->CreatorObj->FirstCustomFieldValue('InstantMessaging')} to
> get custom fileds which belong creator, but sometimes, we created new
> ticket for clients(for example, create a abuse ticket for client). How
> to get requestor Custom Fields data? RequestorObj is not working.
>
if you're working with only one requestor per ticket, you can user this:
$Ticket->Requestors->UserMembersObj->First->FirstCustomFieldValue('InstantMessaging')
RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year -- Learn how to get the most out of RT!