I want to notify the requestor when a ticket is changed from any queue
to queueA
I have the following:
Description: onChangeToQueueXNotifyRequestors
Condition: User Defined
Action: Notify Requestors
Template: Global template: Transaction
Stage: TransactionCreate
Custom condition:
if (
$self->TransactionObj->Type eq “Set”
&& $self->TransactionObj->Field eq “Queue”
&& $self->TransactionObj->NewValue eq “3” # 3 is the number for queueA
) {
return 1;
} else {
return 0;
}
Maybe
$self->TransactionObj->NewValue eq “3”
Should be:
$self->TransactionObj->NewValue == 3-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Luke
Vanderfluit
Sent: Wednesday, March 01, 2006 3:42 PM
To: rt-users
Subject: [rt-users] onChangeToQueueXNotifyRequestors
Hi.
I’m struggling to get a scrip to work.
I want to notify the requestor when a ticket is changed from any queue
to queueA
I have the following:
Description: onChangeToQueueXNotifyRequestors
Condition: User Defined
Action: Notify Requestors
Template: Global template: Transaction
Stage: TransactionCreate
Custom condition:
if (
$self->TransactionObj->Type eq “Set”
&& $self->TransactionObj->Field eq “Queue”
&& $self->TransactionObj->NewValue eq “3” # 3 is the number for
queueA
) {
return 1;
} else {
return 0;
}
NOTE: This message is intended only for the use of the individual or entity to whom it is addressed and contains information that is privileged, confidential and exempt from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately via reply e-mail and please delete this communication.
Maybe
$self->TransactionObj->NewValue eq “3”
Should be:
$self->TransactionObj->NewValue == 3
Thanks for your reply.
No. I’ve tried that.
I now have the script working though by using another template, namely the
‘Global template: Queue Change’ template.
I still get the ‘unexpected end of header’ error in the apache log though.
I’d like to know why this doesn’t work with the Transaction template or
the Blank template?
I want to notify the requestor when a ticket is changed from any queue
to queueA
I have the following:
Description: onChangeToQueueXNotifyRequestors
Condition: User Defined
Action: Notify Requestors
Template: Global template: Transaction
Stage: TransactionCreate
Custom condition:
if (
$self->TransactionObj->Type eq “Set”
&& $self->TransactionObj->Field eq “Queue”
&& $self->TransactionObj->NewValue eq “3” # 3 is the number for
queueA
) {
return 1;
} else {
return 0;
}
NOTE: This message is intended only for the use of the individual or entity to whom it is addressed and contains information that is privileged, confidential and exempt from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately via reply e-mail and please delete this communication.
Is there a way to change the ticket numbering?
Currently it goes
1
2
3
4
5
…
I would like to add the year into this
06-1
06-2
06-3
06-4
The Database field holding the Ticket-Number is an Integer(11)-Field, so
you can’t add alphanumeric Chars. There are Posts in the archive to
change the Ticket-Number in something like 2006001.
Is there a way to change the ticket numbering?
Currently it goes
1
2
3
4
5
…
I would like to add the year into this
06-1
06-2
06-3
06-4
The Database field holding the Ticket-Number is an Integer(11)-Field, so
you can’t add alphanumeric Chars. There are Posts in the archive to
change the Ticket-Number in something like 2006001.