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;
}

Custom action prep code:
Custom action cleanup code:

What should I change?
var/adm/messages shows: ‘RT: error: unexpected end of header\n\n
(/usr/local/rt3/lib/RT/Template_Overlay.pm:369)’

Thanks.
Kind regards.

Luke

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;
}

Custom action prep code:
Custom action cleanup code:

What should I change?
var/adm/messages shows: ‘RT: error: unexpected end of header\n\n
(/usr/local/rt3/lib/RT/Template_Overlay.pm:369)’

Thanks.
Kind regards.

Luke

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media at
http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at
http://bestpractical.com/services/training.html

  • 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.

Hi.

Myers, Adam wrote:

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?

Kind regards.

-----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;
}

Custom action prep code:
Custom action cleanup code:

What should I change?
var/adm/messages shows: ‘RT: error: unexpected end of header\n\n
(/usr/local/rt3/lib/RT/Template_Overlay.pm:369)’

Thanks.
Kind regards.


Luke


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media at
http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at
http://bestpractical.com/services/training.html

  • 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.

Luke

Did you modify the Transaction template? It looks
like there is an error parsing your template.

-Todd

Hi,

I would like to switch our RT location from http://www… to https://… and
use the secure connection.

I understand that I need to change Set($WebBaseURL , "http://www…:80 to
https:// and the apropriate port in the RT_SiteConf.pm

Is there anything elese that needs to be done, from RT point of view?

Tom Wlodek

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

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

I understand that I need to change Set($WebBaseURL , "http://www…:
80 to
https:// and the apropriate port in the RT_SiteConf.pm

Is there anything elese that needs to be done, from RT point of view?

That’s it. Then just configure your web server to answer using SSL
on the port you specify.

Phanoko schrieb:

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.

Bye,

   Jörg

http://wiki.bestpractical.com/index.cgi?SetStartingIdOn 3/5/06, Jörg Herbert joerg@die-herberts.de wrote:

Phanoko schrieb:

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.

Bye,

   Jörg

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.htm

Best regards, Ruslan.