[rt-users] Q: Writing a transaction template: {$Transaction->Content()}

Roy El-Hames rfh at pipex.net
Fri Sep 22 13:14:24 EDT 2006


John;
What you need is to check the wiki ..
http://wiki.bestpractical.com/index.cgi?AddTicketHistoryToMail
it worked for me, you can modify to how you need it.
Roy

John H. Nyhuis wrote:
>     Greetings,
>
>     I am using RT3.4, and am trying to write a resolve ticket action 
> email template that will include:
>
> -all correspondence for the ticket
> -NOT include comments on the ticket
> -will include the correspondence entered at the time of the resolve 
> action
>
> My template (built from the default) includes the 
> {$Transaction->Content()} line which does seem to list the ticket 
> correspondence in other templates.  However, when this template is 
> resolved, it is populated with a message stating "no content for this 
> ticket".
>
> Can anyone see what I am doing wrong?  The same call used in other 
> templates works perfectly.  I have included the content of the 
> template below.  Why does the {$Transaction->Content()} come up with 
> no content?
>
>
>
> Subject: Resolved: {$Ticket->Subject}
>
>      Greetings,
>
>      According to our records, your request:
> {$Ticket->Subject}
> has been resolved.  If you have any further questions or concerns 
> regarding this issue, please send a message to:
>
>      {$Ticket->QueueObj->CorrespondAddress()}
>
>      Thank You,
> Pediatrics Computing
>
> -------------------------------------------------------------------------
> {$Transaction->Content()}
>
>
>
>
>
>
>     Thanks in advance for your ideas,
>
> John H. Nyhuis
> Sr. Computer Specialist
> Dept. of Pediatrics
> HS RR338, Box 356320
> University of Washington
> Desk: (206)-685-3884
> cabal at u.washington.edu
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
>




More information about the rt-users mailing list