[rt-users] Custom Priority Change

Steve Cooke scooke at colusacasino.com
Mon Sep 14 16:59:50 EDT 2009


Hi,

I'm having some issues with trying to write a custom scrip to notify AdminCcs when priority changes are made.
I've done research on google, the wiki  and forum to no avail.

I have a cron job that runs daily to escalate the priority level of a ticket.
What I want to do is when a tickets priority level is between 75 and 95 the user and adminccs are notified of the current status of the ticket.
Once the ticket reaches above 95 on the priority level, the ticket is moved to an escalation queue the adminccs are notified.

The escalation process works along with other functions based on the cron job but I cannot get the notification to work based on the priority level.

I'm wanting to do

Condition: On Priority Change
Action: User Defined

If ($self->TicketObj->Priority > 75 && $self->TicketObj->Priority < 95) {
                ## notify adminccs and owner
                Return 1;
}
Else {
                Return 0;
}

Thanks in advance,




Steve Cooke
MIS - Network Admin 1
Desk:  (530) 458-8844 x6864
Nextel:  (530) 682-4932
[cid:image003.png at 01CA3543.A0B0E930]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090914/bd4bdd2b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 14589 bytes
Desc: image003.png
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090914/bd4bdd2b/attachment.png>


More information about the rt-users mailing list