[rt-users] Approvals status open->resolved
Chia-liang Kao
clkao at bestpractical.com
Fri Feb 13 20:22:46 EST 2009
Richard,
Richard Foley <Richard.Foley <at> rfi.net> writes:
>
> Hi Chia-liang,
>
> Ok, so now I've got this:
>
> if ($passed) {
> $top->SetStatus( Status => 'resolved', Force => 1 );
> $self->RunScripAction('Notify Owner', 'Approval Ready for Owner',
> TicketObj => $top);
> }
the change seems to work for me. Here's the change to the test in
t/approval/basic.t that demostrates the original ticket got set to resolved upon
all approval passed:
http://fsck.com/~clkao/rt-approval-autoresolve.patch
More information about the rt-users
mailing list