[Rt-devel] RT-Crontool search and action

Ben Blakely BBlakely at blink.ca
Fri May 5 14:14:32 EDT 2006


 

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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bestpractical.com/pipermail/rt-devel/attachments/20060505/892c1d62/attachment.htm


More information about the Rt-devel mailing list