On Thu, Jan 16, 2014 at 12:21:54PM -0800, rwzoerner wrote: > I'm not a Perl programmer and the documentation for RT isn't very friendly > for folks like me. I'm trying to put the ticket owner's full name in a > template, for example, and I can't find anything that tells me what the > possible values are for {$Ticket->OwnerObj}. I did see a snippet that used > {$Ticket-OwnerObj->Name} but that displays just the username, not the full > name. >
OwnerObj is an RT::User, so you have all methods available here: http://www.bestpractical.com/docs/rt/4.2/RT/User.html (You wan't ->RealName here). > Aside from needing to resolve that specific problem, is there a way a > non-Perl-person can find what values are possible for other objects, as > well? > Each object have a corresponding .pm file in lib/RT/ (User.pm, Ticket.pm, ...). You can do "perldoc lib/RT/....pm" to see available methods or use the online documentation above) -- 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:elac...@easter-eggs.com - http://www.easter-eggs.com