[rt-users] Template Tokens in v2

'Jesse' jesse at fsck.com
Fri Jun 1 01:10:00 EDT 2001


Subject: AutoReply: {$Ticket->Subject}


       Greetings,
        This message has been automatically generated in response to the
creation of a trouble ticket regarding:
        "{$Ticket->Subject()}", 
a summary of which appears below.

There is no need to reply to this message right now.  Your ticket has been
assigned an ID of [{$rtname} #{$Ticket->id()}].

Please include the string:

         [{$rtname} #{$Ticket->id}]

in the subject line of all future correspondence about this issue. To do so, 
you may reply to this message.

                        Thank you,
                        {$Ticket->QueueObj->CorrespondAddress()}

-------------------------------------------------------------------------

{$Transaction->Content()}


On Thu, May 31, 2001 at 09:29:53AM +0100, Adam Giddens wrote:
> There is text in the existing templates, could you send me a example please.
> Last question I promise :o)
> 
> -----Original Message-----
> From: 'Jesse' [mailto:jesse at fsck.com]
> Sent: 30 May 2001 17:03
> To: Adam Giddens
> Cc: 'rt-users at lists.fsck.com'
> Subject: Re: [rt-users] Template Tokens in v2
> 
> 
> Those are RT1 tokens. Take a look at any of the existing templates for 
> RT2 to see the new format.
> 
> 
> On Wed, May 30, 2001 at 02:14:06PM +0100, Adam Giddens wrote:
> > What am i doing wrong then? I've put the below into a OnCreate template on
> > v2 although it only comes back as text (does not change) and not the
> correct
> > token info...
> > 
> > Jesse, any help?
> > 
> > ----Copy of Template----
> > A new request has just been mailed to the helpdesk system. The details are
> > below:
> > 
> > %serial_num%
> > %subject%
> > %req:status%
> > %req:priority%
> > 
> > %req:date_created%
> > 
> > %content%
> > 
> > 
> > -----Original Message-----
> > From: Jesse [mailto:jesse at fsck.com]
> > Sent: 29 May 2001 15:16
> > To: Adam Giddens
> > Cc: 'rt-users at lists.fsck.com'
> > Subject: Re: [rt-users] Template Tokens in v2
> > 
> > 
> > RT2 uses Text::Template and a more comprehensive set of tokens.
> > As yet, there's no manual for the template stuff, but you should
> > be able to crib together what you want by looking at the existing
> > templates for inspiration.
> > 
> >         -j
> > 
> > 
> > On Tue, May 29, 2001 at 09:15:06AM +0100, Adam Giddens wrote:
> > > Hi,
> > > 
> > > Does anyone know if it is possible to use Template Tokens on v2 of RT??
> > When
> > > I use the v1 token system when setting up templates they just come back
> as
> > > plain test rather than the correct information.
> > > 
> > > Can anyone help?
> > > 
> > > Adam
> > > 
> > > 
> > > **********************************************************************
> > > This email and any files transmitted with it are confidential and
> > > intended solely for the use of the individual or entity to whom they
> > > are addressed. If you have received this email in error please notify
> > > the system manager.
> > > 
> > > This footnote also confirms that this email message has been swept by
> > > MIMEsweeper for the presence of computer viruses.
> > > 
> > > administrator at perceptivetechnology.com
> > > **********************************************************************
> > > 
> > > _______________________________________________
> > > rt-users mailing list
> > > rt-users at lists.fsck.com
> > > http://lists.fsck.com/mailman/listinfo/rt-users
> > > 
> > 
> > -- 
> > jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com 
> > 70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90
> > 
> > Linux is like a Vorlon.  It is incredibly powerful, gives terse,
> > cryptic answers and has a lot of things going on in the background.
> > 
> > _______________________________________________
> > rt-users mailing list
> > rt-users at lists.fsck.com
> > http://lists.fsck.com/mailman/listinfo/rt-users
> > 
> > 
> > **********************************************************************
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the system manager.
> > 
> > This footnote also confirms that this email message has been swept by
> > MIMEsweeper for the presence of computer viruses.
> > 
> > administrator at perceptivetechnology.com
> > **********************************************************************
> > 
> 
> -- 
> jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com 
> 70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90
> 
> I think co-ordinating 1000 prima donnas living all over the world will be as
> 
> easy as herding cats..." -- Andy Tanenbaum on the linux development model,
> 1992
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> 
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
> 
> administrator at perceptivetechnology.com
> **********************************************************************
> 

-- 
jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com 
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

A REAL sysadmin challenge is "resurrect five dead mailserver while so ripped
to the gills on mdma that you can't focus on any given line of text for more 
than 10 seconds continuously."
					-Nathan Mehl




More information about the rt-users mailing list