[prev in list] [next in list] [prev in thread] [next in thread]
List: rt-users
Subject: [rt-users] Priority Based Scrip
From: Phanoko <phanoko () yahoo ! com>
Date: 2005-11-30 16:17:35
Message-ID: 20051130161735.97756.qmail () web53902 ! mail ! yahoo ! com
[Download RAW message or body]
I'm in need of a scrip that will check the ticket as
it's created and if
it's priority is 4 or greater than e-mail
'charliebrown@snoopy.com'
This is what I've started with. I just copied and
pasted from an hour
script I found so I don't know if it is in any way
correct. Anyone's
help would be awesome. I'll even buy you lunch if you
get out to
Vegas. :)
package RT::Condition::Priority;
use strict;
use base 'RT::Condition::Generic';
sub IsApplicable {
my $self = shift;
return 0 unless $self->TicketObj->Priority >=
4;
return 1;
}
1;
__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs
_______________________________________________
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic