Generic Agent jobs

Moderator: crythias

Locked
kenmurimi
Znuny newbie
Posts: 87
Joined: 24 May 2010, 10:21
Znuny Version: 2.4.7

Generic Agent jobs

Post by kenmurimi »

hi,

I added a new state resolved for my otrs. My agents put the tickets to resolved once they have resolved the customer's problem. The customer is then to close the ticket. i want to have a generic agent that closes the ticket after five days if the customer doesn't close the ticket.

i have got an example below:

# --
# [name of job] -> close resolved tickets
# --
'delete' => {
# get all tickets with these properties
Queue => 'faults',
States => ['resolved'],
# tickets older then 60 minutes
TicketCreateTimeOlderMinutes => 60,
# new ticket properties (no option is required,
# use just the options which should be changed!)
New => {
States => ['closed'],
},
},

but now i dont know how to change the "TicketCreateTimeOlderMinutes" because for my case its not the time the ticket was created but the time the ticket state changed to resolved.

any help greatly appreciated.
Thanks in advance.
OTRS 2.4.7 on SUSE and on MySQL database
OTRS 3.2.10 on CentOS and MySQL database
Locked