Here is a condition and action that some might find usefull for
auto-resolving a specific ticket ID from the command line:
Put TicketIDMatches.pm in $lib/RT/Condition and AutoResolve.pm in
$lib/RT/Action.
Here is an example of rt-crontool which resolves ticket ID 133 in the
OrderDesk queue:
rt-crontool --search RT::Search::ActiveTicketsInQueue --search-arg OrderDesk
–condition RT::Condition::TicketIDMatches --condition-arg 133
–action RT::Action::AutoResolve --verbose
Feel free to share your custom conditions/actions with the list.
BJ.
TicketIDMatches.pm (1.49 KB)
AutoResolve.pm (2.25 KB)