{$Ticket->FirstCustomFieldValue('My Custom Field Name')}

yeilds nothing...

I am trying to return the value of a specific custom field in an email ... or 
set the priority based on the value of the custom field... 
Am I referencing the fiel incorrectly??
Do I need a patch??

We are running RT 3.0.8 rc1

Please help.
Thanks in advance, Terri

Here is some code that I have tried:

In a scrip:
On Correspond
User Defined
Prep Code:  Return 1;
Cleanup Code:
if $Ticket->FirstCustomFieldValue('Severity') eq "Urgent") {
$self->TicketObj->SetPriority( 100 );
        return 1;

{$Ticket->FirstCustomFieldValue('Severity')}
Template: Blank


In a template, that is emailed on Correspond, I simply have:
{$Ticket->FirstCustomFieldValue('Severity')}
   This send a blank email... no error.

Terri Bendl
Network Administrator
E-ZPass Help Desk
Ext 4316


_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Reply via email to