UniqueAutoReplies
Jump to navigation
Jump to search
How do i config RT so that each queue has its own specific Auto-Reply? Right now i only have one global auto-reply and i wish to convey a specific message for each queue's auto-reply.
- Create an autoreply template in each queue.
- And then create an autoreply scrip in each queue.
- disable global autoreply scrip.
The easy way
If you have a global scrip that uses a template called "Autoreply", RT will first look for a queue specific template called "Autoreply" before falling back to the global template
Alternative method
In the above explanation, each queue's Auto-Reply scrip is identical except for the templated being used. It might be easier to modify the global Autoreply template to output different info. based on the queue name. See the documentation for Text::Template
Subject: AutoReply: {$Ticket->Subject} This is queue: {$Ticket->QueueObj->Name} { if ($Ticket->QueueObj->Name eq 'Work Queue') { "Output this"; } elsif ($Ticket->QueueObj->Name eq 'Task Queue') { "Output that"; } else { "Output other"; } } 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 futu