
Hi Stephen, On Aug 19, 2009, at 14:21 , Stephen Gebbie wrote:
I am trying to write (command line) a GenericAgent to automatically close tickets that are in a 'complete' folder once they have been in that folder for 1 week. but I cannot find the keyword for TimeSinceLastAction or TimeSinceMoved or something like that
the tickets can be over 18 days old and still active in other queues. I can only calculate time from when they were moved into the 'complete' queue. and at this point after 7 days tickets would be locked and unlocked states.
does anyone know the keyword I need or even a list of the keywords available, i havnt been able to find a definitive list
This attribute is currently not supported by the generic agent. If you want to get "time since ticket moved or last action" you need to do an database lookup in the ticket_history table. -=> More about this kind of issues on the developer list. ;) -Martin