Qestion about custom fields and templates

we now use RT 3.0.9 and want to include the contents of
some custom fields in e.g. the AutoReply message on ticket creation.
I found a way to include this content but i think there must be
an easier way to do that. Since i am not a Perl guru any help
is appreciated.

My ‘code’ included in the AutoReply template for the first
custom field of a ticket:

Name : {my $CustomFields = $Ticket->QueueObj->CustomFields(); my
$CustomField = $CustomFields->Next(); my $Values =
$Ticket->CustomFieldValues($CustomField->Id); my $Value = $Values->Next();
$Value->Content}

This task would be much more easier if something like

Name: {$Ticket->CustomFieldContent(‘Name of field’)}

would be possible.

Matthias Ludwig

we now use RT 3.0.9 and want to include the contents of
some custom fields in e.g. the AutoReply message on ticket creation.
I found a way to include this content but i think there must be
an easier way to do that. Since i am not a Perl guru any help
is appreciated.

http://wiki.bestpractical.com/cgi-bin/index.cgi?AddCustomFieldsValuesToMail

Andy Harrison
(full headers for details)

…it works. Thanks a lot
Matthias Ludwig

PS: have i missed the link to this cool wiki? If not you shold consider to
link it on the
documentation page :wink:

-----Ursprungliche Nachricht-----
Von: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com]Im Auftrag von Andy
Harrison
Gesendet: Dienstag, 9. Marz 2004 16:57
An: rt-users@lists.bestpractical.com
Betreff: Re: [rt-users] Qestion about custom fields and templates

Subject: “[rt-users] Qestion about custom fields and templates”


>  we now use RT 3.0.9 and want to include the contents of
>  some custom fields in e.g. the AutoReply message on ticket creation.
>  I found a way to include this content but i think there must be
>  an easier way to do that. Since i am not a Perl guru any help
>  is appreciated.


http://wiki.bestpractical.com/cgi-bin/index.cgi?AddCustomFieldsValuesToMail