[rt-users] Open Overdue Tickets

Andy Harrison aharrison at gmail.com
Sun Dec 5 10:44:13 EST 2004


On Sun, 5 Dec 2004 10:39:40 +0000, Tony Bowden <rt at tmtm.com> wrote:
> 
> I'd like to write a simple cron job to auto-set all overdue stalled
> tickets back to Open.
> 
> This seems like it should be fairly simple, but I'm falling down
> somewhat.
> 
> I would expect this to be something like:
> 
>         rt-crontool --search RT::Search::ActiveTicketsInQueue \
>             --search-arg support \
>             --condition RT::Condition::Overdue \
>             --condition-arg \
>             --action RT::Action::SetStatus \
>             --action-arg open
> 
> However, there is no RT::Action::SetStatus.


RT::Action::AutoOpen should do what you want. 

But if the ticket is stalled for a reason, simply changing it to Open
isn't going to change the reason it was stalled.  Increase the
priority so that important tickets that are stalled get the attention
they need.
-- 
Andy Harrison



More information about the rt-users mailing list