Re: [rt-users] Problems with an SLA Scrip I created

2012-01-12 Thread Robert Wysocki
Dnia 2012-01-11, śro o godzinie 17:50 -0500, David Hollinger pisze: (cut) > > my $ticketPriority = $self->TicketObj->Priority; > > if($ticketPriority == 0) { > > my $SLA = '24'; > > } > > elsif($ticketPriority == 25) { > > my $SLA = '8'; > > } > > elsif($ticketPriori

[rt-users] Problems with an SLA Scrip I created

2012-01-11 Thread David Hollinger
I've written a scrip to do not only that, but to change the SLA whenever the Priority is changed, based off what the priority is changed to, however it doesn't seem to work. Here's the code - I'm fairly new to perl, so I may have missed something in the code: my $ticketPriority = $self->Tick