-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I'm trying to set up a different subject for different queues in the
same template (autoreply). This doesn't seem to work:
{
if ($Ticket->QueueObj->Name eq 'Work Queue') {
Subject: Helpdesk Job Logged: {$Ticket->Subject}
"Output this";
}
elsif ($
I am pretty sure you can define that on the queue edit screen. I set up
different subject prefixes per queue when I created them. As long as it is a
per queue difference and not changes within a queue based on something else.
Someone correct me if I'm wrong.
Sent from my mobile device.
On F
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01/02/12 12:03, Joe Harris wrote:
> I am pretty sure you can define that on the queue edit screen. I
> set up different subject prefixes per queue when I created them. As
> long as it is a per queue difference and not changes within a queue
> based
Hi Giuseppe
what is your definition of "This doesn't seem to work" ?
what is the (bad) behaviour that you are seeing ?
Does an email get sent or not ?
What is its subject line and content ?
Anything in the logs ?
Gerard
On 2012-02-01 12:03, Giuseppe Sollazzo wrote:
Hi,
I'm trying to set up a d
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01/02/12 13:08, Gerard FENELON wrote:
> Hi Giuseppe
>
> what is your definition of "This doesn't seem to work" ? what is
> the (bad) behaviour that you are seeing ? Does an email get sent or
> not ? What is its subject line and content ? Anything i
Try something like
Subject: { if ($Ticket->QueueObj->Name eq 'Work Queue')
{ "Helpdesk Job Logged: {$Ticket->Subject} Output this"; }
elsif ($Ticket->QueueObj->Name eq 'Task Queue')
{ "Support Job Logged: {$Ticket->Subject} Output that"; }
else
{ "Output other"; }
}
In other words, your perl scr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01/02/12 13:30, Gerard FENELON wrote:
> Try something like
>
> Subject: { if ($Ticket->QueueObj->Name eq 'Work Queue') { "Helpdesk
> Job Logged: {$Ticket->Subject} Output this"; } elsif
> ($Ticket->QueueObj->Name eq 'Task Queue') { "Support Job Log
I suspect my proposal is wrong
Try instead
Subject: { if ($Ticket->QueueObj->Name eq 'Work Queue')
{ "Helpdesk Job Logged: " . $Ticket->Subject . " Output this"; }
elsif ($Ticket->QueueObj->Name eq 'Task Queue')
{ "Support Job Logged: " . $Ticket->Subject . " Output that"; }
else
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Gerard,
many thanks - that worked.
I really need to refresh my Perl...
Cheers,
Giuseppe
On 01/02/12 13:49, Gerard FENELON wrote:
> I suspect my proposal is wrong Try instead
>
> Subject: { if ($Ticket->QueueObj->Name eq 'Work Queue') { "Helpdesk
On Wed, Feb 01, 2012 at 01:55:34PM +, Giuseppe Sollazzo wrote:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>Hi Gerard,
>many thanks - that worked.
>
>I really need to refresh my Perl...
>
>Cheers,
>Giuseppe
>
>On 01/02/12 13:49, Gerard FENELON wrote:
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01/02/12 19:19, Kevin Falcone wrote:
>
>
> Guiseppe - for reference, the syntax Gerard gave you came from the
> fact that RT's templates are Text::Templates and you can read more
> about them on CPAN:
>
> http://search.cpan.org/dist/Text-Template/l
11 matches
Mail list logo