[rt-users] Custom condition problem
Sergey Kozhedub
sevk at maks.net
Tue Sep 14 18:52:53 EDT 2010
Hello all,
I'm trying to implement MuteResolve
(http://wiki.bestpractical.com/view/MuteResolve) in my RT-3.8.4
installation but it doesn't work for me.
Finally I cut my script just to:
{code}
return 0 unless ($self->TransactionObj->Type eq "Status" &&
$self->TransactionObj->NewValue eq "resolved");
return 1;
{code}
When changing status of the ticket to open I don't see any errors. But
if I resolve the ticket I always get this error in logs:
Sep 15 00:17:38 rt RT: Couldn't load object RT::Transaction #0
(/var/www/rt.iptp.net/bin/../lib/RT/Interface/Web.pm:1127)
What I'm doing wrong?
Condition: User Defined
Action: Notify Requestors
Template: Global template: Resolved
Stage: TransactionBatch
Regards,
Sergey Kozhedub
More information about the rt-users
mailing list