I have tried FirstCustomFieldValue('NotifyEmail') but it returns nothing. But I 
can look at the ticket and it shows the value that I would expect there. 

FirstCustomFieldValues('NotifyEmail') returns this in the log file: 
Template parsing error: RT::Ticket::FirstCustomFieldValues Unimplemented in 
Text::Template::GEN14. 

Kurt Engle 
Network Engineer 
Eugene 4J Schools 


From: "Kevin Falcone" <falc...@bestpractical.com> 
To: rt-users@lists.bestpractical.com 
Sent: Tuesday, December 14, 2010 10:40:33 AM 
Subject: Re: [rt-users] notification 

On Tue, Dec 14, 2010 at 09:50:38AM -0800, Kurt Engle wrote: 
> I am trying to approach this a little differently now. I am skipping the 
> email part, and just 
> trying to get it to print the value I want in the email (I am hard coding the 
> To: field) 
> 
> But when I use this in the body of the email: { 
> $Ticket->CustomFieldValues('NotifyEmail');} 
> 
> My result is this: RT::ObjectCustomFieldValues=HASH(0x2b9a63a9c110) 
> But I cannot figure out how to get the value out of the Hash. 

You're missing the word First in your method call 

-kevin 
> ----------------------------------------------------------------------------------------------
>  
> 
> From: "Kevin Falcone" <falc...@bestpractical.com> 
> To: rt-users@lists.bestpractical.com 
> Sent: Tuesday, December 14, 2010 8:19:16 AM 
> Subject: Re: [rt-users] notification 
> 
> On Mon, Dec 13, 2010 at 02:24:26PM -0800, Kurt Engle wrote: 
> > Action: Notify Other Recipients 
> 
> Oh, I wonder if that is your problem. Notify Other Recipients 
> notifies CCs 
> 
> > { my $to_address = "rubble"; } 
> > To: {$to_addre...@4j.lane.edu 
> > Subject: New Ticket #{ $Ticket->Id() } has been created 
> 
> What happens if you Cc: to that address, or RT-Send-Cc: to that 
> address? 
> 
> -kevin 

Reply via email to