[prev in list] [next in list] [prev in thread] [next in thread]
List: rt-devel
Subject: [Rt-devel] Custom User Field in Custom Ticket Action
From: schenkin <schenkin () gmail ! com>
Date: 2009-01-27 22:33:44
Message-ID: 21694695.post () talk ! nabble ! com
[Download RAW message or body]
I am trying to retrieve a custom user field from the requester of an incoming
ticket.
Can someone give me a perl snippet that I can incorporate into a custom
ticket action? I don't need the whole thing, just somewhere to start. All
the methods I can find seem to only apply to customfields attached to ticket
objects.
So far I load the current user with:
my $currentTicket = $self->TicketObj;
my $currentUser = new RT::CurrentUser;
$currentUser->LoadByEmail( $currentTicket->RequestorAddresses() );
But I can't load a custom field from the user.
Ideas?
--
View this message in context: \
http://www.nabble.com/Custom-User-Field-in-Custom-Ticket-Action-tp21694695p21694695.html
Sent from the Request Tracker - Dev mailing list archive at Nabble.com.
_______________________________________________
List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic