[rt-users] scrip not working after upgrade

Nicolas GUIOT nicolas.guiot at risc-group.com
Fri Dec 11 04:47:01 EST 2009


Hi everyone,

I'm upgrading from 3.6.1 to 3.8.6, and having (until now) just a last bug : 

I had a scrip that was doing the following : if a ticket has been rejected, then email the user so that he knows about it.

This was made like this : 

Condition : On Status Change
Action : Notify requestor, CCs, and AdminCCs
Template : GlobalTemplate : Reject
Stage : Transaction Create

Custon Condition : 
 if ( $Ticket->Status eq "rejected") { return 1; }
 return 0;

So, this works perfectly in the "old" setup (3.6.1). 

But in 3.8.6, every time the status of the ticket changes (open, solved, closed, etc...), the Requestor receives a "ticket rejected" notice.

Has anything changed between the 2 versions ? Did I miss something else ?

Thanks in advance for your help
Nicolas




More information about the rt-users mailing list