Hello all,
Has anyone had success with NonTransitioningStatuses? (RT 3.8.1)
I’ve tried the implementation at
http://wiki.bestpractical.com/view/NonTransitioningStatus
and have now simplified it to
diff /local/lib/RT/Action/AutoOpen.pm lib/RT/Action/AutoOpen.pm
my $status = $self->TicketObj->Status;
return undef if $status eq ‘open’;
return undef if $status eq ‘new’ && $self->TransactionObj->IsInbound;
76,79d75
< return undef if $status eq ‘confirmed’;
< return undef if $status eq ‘sold’;
< return undef if $status eq ‘pending’;
< return undef if $status eq ‘happening’;
which couldn’t be simpler, but my “confirmed” etc. tickets still revert
to open on correspondence.
Might I have missed something>? I’ve checked scrips for that queue, but
none seem to apply.
thanks in advance
Woody.
Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Mobile: +255 (0) 773 503 502
http://www.wildthingsafaris.com/pub/woody.html
Hi,
I found my crux,
I’d used Reenen Kroukamp global scrip from
http://wiki.bestpractical.com/view/SetTicketPropertiesViaMail
which also included setting status to open, which I han blindly pasted in.
Thanks for the rest of the scrip though Reenen!
oops
w.
Woody - Wild Things wrote:
Hello all,
Has anyone had success with NonTransitioningStatuses? (RT 3.8.1)
I’ve tried the implementation at
NonTransitioningStatus - Request Tracker Wiki
and have now simplified it to
diff /local/lib/RT/Action/AutoOpen.pm lib/RT/Action/AutoOpen.pm
my $status = $self->TicketObj->Status;
return undef if $status eq ‘open’;
return undef if $status eq ‘new’ && $self->TransactionObj->IsInbound;
76,79d75
< return undef if $status eq ‘confirmed’;
< return undef if $status eq ‘sold’;
< return undef if $status eq ‘pending’;
< return undef if $status eq ‘happening’;
which couldn’t be simpler, but my “confirmed” etc. tickets still revert
to open on correspondence.
Might I have missed something>? I’ve checked scrips for that queue, but
none seem to apply.
thanks in advance
Woody.
Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Mobile: +255 (0) 773 503 502
http://www.wildthingsafaris.com/pub/woody.html