[rt-users] Fwd: custom fields display through RT::Client::REST

khaled yousry kyousry at gmail.com
Tue Jul 7 07:57:13 EDT 2009


dear all,

I'm using RT and  RT::Client::REST::Ticket successfully to get ticket normal
fields,
but for custom fields, its not displaying them,

details:
I have a custom field "Module" that I want to display, I use the following:
-----------------------
while (my $ticket = &$iterator) {

        my $cf_module= $ticket->cf(Module);


    print EMAIL_FILE "<TR><TD>",$ticket->id,"</TD><TD>"
        ,$ticket->subject, "</TD><TD>", $ticket->status,"</TD><TD>",
        $cf_module,"</TD></TR>\n";
-----------------------------------------------------
$cf_module does not show anything
trying $cf_module= $ticket->cf('Module');
produce the same result.

I'm using RT 3.4.4 on ubuntu 6.06 server

appreciating your help achieving the objective of displaying ticket details
including custom fields, using the above method or any other.

best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090707/1429e6d5/attachment.htm>


More information about the rt-users mailing list