[rt-users] Problems with a subject line in a template

Jesse Vincent jesse at bestpractical.com
Thu Jan 3 19:50:23 EST 2002


RT _always_ puts a ticket ID in ticket related correspondence. you'll
want to hack SendEmail to disable that...though I'm not sure
what use case would lead to you wanting to do so. You can get the tag
at the end by using a template like this:

Subject: Re: {$Ticket->Subject()} [{$rtname} #{$Ticket->id()}]



On Thu, Jan 03, 2002 at 03:36:29PM -0500, Adam Taylor wrote:
> All,
> 	I created a new templete to be used for my OnCreate
> AutoreplyToRequestors scrip, but i'm having problems with the Subject
> line. I can't get it to not place [{$rtname} #{$Ticket->id()}] in the
> subject line.
> 
> For example:
> I want to have the subject to be formated as follows:
> Subject: Re: My Server is down [SERVERCITY-9]
> 
> So in my template i have:
> Subject: Re: {$Ticket->Subject()} [{$rtname}-{$Ticket->id()}]
> 
> However it always comes out as:
> Subject: [SERVERCITY #9] Re: My Server is down [SERVERCITY-9]
> 
> So it appears to be adding [{$rtname} #{$Ticket->id()}] in to make it:
> Subject: [{$rtname} #{$Ticket->id()}] Re: {$Ticket->Subject()} [{$rtname}-{$Ticket->id()}]
> 
> Any ideas on what i might be doing wrong and how i can fix it?
> 
> Thanks
> Adam Taylor
> Servercity Inc.
> 
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 

-- 
http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.




More information about the rt-users mailing list