Auto Resolved

I have a custom Status, I want it so that if it stays in this custom state
for 2 weeks then I want the status to change automatically to resolved.
I think this might be possible using cron, but Im not sure where to start.
Thanks

You probably need to use the REST api to query and then update tickets with your custom status in a perl script. Call this script from cron.daily to keep it rolling.On 14 Jun 2012, at 21:07, “Ajunpreet Singh” ajunpreet@gmail.com wrote:

I have a custom Status, I want it so that if it stays in this custom state for 2 weeks then I want the status to change automatically to resolved.
I think this might be possible using cron, but Im not sure where to start.
Thanks

List info: The rt-devel Archives

You probably need to use the REST api to query and then update tickets with your custom status in a perl script. Call this script from cron.daily to keep it rolling.

You certainly can do this from REST, but it’s probably simpler to do
with rt-crontool.

This was answered recently on rt-users with a pointer to appropriate
actions to use.

-kevin> On 14 Jun 2012, at 21:07, “Ajunpreet Singh” ajunpreet@gmail.com wrote:

I have a custom Status, I want it so that if it stays in this custom state for 2 weeks then I want the status to change automatically to resolved.
I think this might be possible using cron, but Im not sure where to start.