Template objects

Hi Guys,

i’m trying to customize my Global Autoreply template so that it will
reply bearing the name of the Queue the requestor emailed to. So if I
have 3 different queues, the global autoreply will pickup the queue
name… giving a sense of multiple request trackers. :slight_smile:

the default auto-reply uses the [{$rtname} #{$Ticket->id()}] which gives
out [rt.mydomain.com #43] both in the subject and in the body of the
auto-reply message

  • does anyone know what code to replace $rtname so that it will reflect
    the name of a specific queue?
  • is there a listing available for all these “codes” that one can use in
    the templates?
  • is it safe to do this and will correspondences still get grouped into
    the same queue name & ticket number?

examples…

current subject:
[rt.mydomain.com #46] AutoReply: test ticket

desired subject::
[myqueue #46] AutoReply: test ticket

You will run into problems doing this. The string in brackets is used to
match incoming e-mail to existing tickets. If you must have the queue name
in the subject, put it outside the brackets, and retain the default:

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

-AaronOn Sat, 24 Apr 2004, Paul Suela wrote:

Hi Guys,

i’m trying to customize my Global Autoreply template so that it will
reply bearing the name of the Queue the requestor emailed to. So if I
have 3 different queues, the global autoreply will pickup the queue
name… giving a sense of multiple request trackers. :slight_smile:

the default auto-reply uses the [{$rtname} #{$Ticket->id()}] which gives
out [rt.mydomain.com #43] both in the subject and in the body of the
auto-reply message

  • does anyone know what code to replace $rtname so that it will reflect
    the name of a specific queue?
  • is there a listing available for all these “codes” that one can use in
    the templates?
  • is it safe to do this and will correspondences still get grouped into
    the same queue name & ticket number?

examples…

current subject:
[rt.mydomain.com #46] AutoReply: test ticket

desired subject::
[myqueue #46] AutoReply: test ticket


The rt-users Archives

RT Developer and Administrator training is coming to LA, DC and Frankfurt this spring and summer.
http://bestpractical.com/services/training.html

Sign up early, as class space is limited.