<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Did you try just {$Ticket->id}? Works for me.</DIV>
<DIV> </DIV>
<DIV> <tr><BR>               <td><span style="COLOR: #607480"><strong>Request {$Ticket->id} was been created on {$Transaction->CreatedAsString}</strong></td></tr><BR><tr><BR></DIV>
<DIV> </DIV>
<DIV>--- On <B>Thu, 1/20/11, Jennifer Koermer <I><JKoermer@prg.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Jennifer Koermer <JKoermer@prg.com><BR>Subject: Re: [rt-users] Template Help<BR>To: "rt-users@lists.bestpractical.com" <rt-users@lists.bestpractical.com><BR>Date: Thursday, January 20, 2011, 1:06 PM<BR><BR>
<DIV class=plainMail>I'd still be interested in using this if there was an easy way to deal with this.  I ended up creating a custom scrip and template in the __Approvals queue.  I've added the line below to the template and it now allows people to just click on the link to send a pre-formatted email.<BR><BR><BR>-----Original Message-----<BR>From: Jennifer Koermer <BR>Sent: Wednesday, January 19, 2011 7:03 PM<BR>To: <A href="http://us.mc345.mail.yahoo.com/mc/compose?to=rt-users@lists.bestpractical.com" ymailto="mailto:rt-users@lists.bestpractical.com">rt-users@lists.bestpractical.com</A><BR>Subject: Template Help<BR><BR>I'm using the following template to create an approval ticket.  I would like to include the following lines into the ticket:<BR><BR>Click on the link below to send an approval email:<BR>mailto:<A href="http://us.mc345.mail.yahoo.com/mc/compose?to=rt@domain.com"
 ymailto="mailto:rt@domain.com">rt@domain.com</A>?subject=%5B{$rtname}%20#{$Ticket->id()}%5D&body=%20Status:%20resolved<BR><BR>Click on the link below to send a rejection email:<BR>mailto:<A href="http://us.mc345.mail.yahoo.com/mc/compose?to=rt@domain.com" ymailto="mailto:rt@domain.com">rt@domain.com</A>?subject=%5B{$rtname}%20#{$Ticket->id()}%5D&body=%20Status:%20rejected<BR><BR>I am getting the following error:<BR>Click on the link below to send an approval email:<BR>mailto:<A href="http://us.mc345.mail.yahoo.com/mc/compose?to=rt@domain.com" ymailto="mailto:rt@domain.com">rt@domain.com</A>?subject=%5B%20#Can't call method "id" on an undefined value at template line 29.<BR><BR>Stack:<BR>  [template:29]<BR>  [/usr/lib/rt/RT/Action/CreateTickets.pm:667]<BR>  [/usr/lib/rt/RT/Action/CreateTickets.pm:366]<BR>  [/usr/lib/rt/RT/Action/CreateTickets.pm:303]<BR>  [/usr/lib/rt/RT/ScripAction_Overlay.pm:238]<BR> 
 [/usr/lib/rt/RT/Scrip_Overlay.pm:464]<BR>  [/usr/lib/rt/RT/Scrips_Overlay.pm:196]<BR>  [/usr/lib/rt/RT/Scrips_Overlay.pm:175]<BR>  [/usr/lib/rt/RT/Ticket_Overlay.pm:3186]<BR>  [/var/rt/html/Ticket/Create.html:392]<BR>  [/var/rt/html/autohandler:311]<BR>%5D&body=%20Status:%20resolved<BR><BR>Is there a way to get the id of the ticket that will be created with the template?  Please help, the ability to just be able to click on the link instead of worrying about formatting would be a great addition to the approval queue.  It works with correspondence and comments.<BR><BR><BR>Here is my Template:<BR><BR><BR>===Create-Ticket: approval<BR>Queue: ___Approvals<BR>Type: approval<BR>AdminCc: {$Tickets{'TOP'}->FirstCustomFieldValue('OracleApprovers')};<BR>Cc: <A href="http://us.mc345.mail.yahoo.com/mc/compose?to=username@domain.com" ymailto="mailto:username@domain.com">username@domain.com</A><BR>Depended-On-By:
 TOP<BR>Refers-To: TOP<BR>CF-ApprovalType: Oracle<BR>Due: {time + 86400}<BR>Subject: Oracle Approval for ticket: {$Tickets{"TOP"}->Id} - {$Tickets{"TOP"}->Subject}<BR>Content: Your approval is required to grant access to Oracle for {$Tickets{'TOP'}->FirstCustomFieldValue('UserDisplayName')}<BR><BR>To respond to this request, please click the following link to access your pending approvals:<BR><BR><A href="http://rt.domain.com/Approvals" target=_blank>http://rt.domain.com/Approvals</A> <BR><BR>OR<BR><BR>You may submit your response via e-mail.  To do so, reply to this message with one of the following responses in the body of the message:<BR><BR>To approve:<BR>    Status: Resolved<BR><BR>To reject:<BR>    Status: Rejected<BR><BR>To view the original request, follow this link: 
 {RT->Config->Get('WebURL')}Ticket/Display.html?id={$Tickets{'TOP'}->Id}<BR>________________________________________________________<BR><BR>The actual approval request is below:<BR>{$Tickets{'TOP'}->Transactions->First->Content()} <BR><BR><BR>ENDOFCONTENT<BR></DIV></BLOCKQUOTE></td></tr></table>