RT-Crontool search and action

Hello All,

Im trying to search for a ticket in the new and open status with a
certain custom field, if it matches, I would like to move it to a new
queue.

Any ideas? Here is what I have for the search syntax but not sure what
the action syntax is to move it to a new queue. I seached the .pm files
in …/rt3/lib/rt/actions… but cant find anything that would lead me in
the right direction.

/opt/rt3/bin/rt-crontool --search RT::Search::FromSQL --search-arg
"(Status = ‘new’ OR Status = ‘open’) AND Queue = ‘Support Level 1’ AND
’CF.ServiceType’ = ‘Move/Add/Change/Delete - DNS’" --action

Thanks,

Ben