[rt-users] reporting on custom fields

Michael S. Liebman m-liebman at northwestern.edu
Mon Nov 10 12:49:04 EST 2003


On Mon, Nov 10, 2003 at 04:23:36PM +0000, rt at mas.ml1.net wrote:
> Yes, I've seen that, and it gets me part of the way there but not all; it
> assumes you know in advance the list of custom fields. What I'd like to
> do is get a list of all the custom fields defined for a particular queue,
> then add those field names to my header list and add the value for each
> field to the row for each ticket.

>From the RT::Queue_Overlay perldoc:
> CustomFields
> Returns an RT::CustomFields object containing all
> global custom fields, as well as those tied to this queue

So you need to do something like $ticket->QueueObj->CustomFields().

Michael

-- 
Michael S. Liebman                      m-liebman at northwestern.edu
                  http://msl521.freeshell.org/
"I have vision and the rest of the world wears bifocals."
        -Paul Newman in "Butch Cassidy & the Sundance Kid"



More information about the rt-users mailing list