I' ve created this cronjob, based on example from this thread http://forums.otrs.org/viewtopic.php?f=62&t=6843 But...
a) It just ignores the TicketChangeTimeOlderMinutes line if the value is too small and close the ticket in an instant
b) It ignores the job itself if value is greater than ~ 32000
Maybe someone have some experience with this issue?
Code: Select all
# --
# [name of job] -> auto-close tickets which requires UAT
# --
'auto-close tickets which requires UAT' => {
# get all tickets with these properties
States => ['UAT needed'],
TicketChangeTimeOlderMinutes=> 42300,
# new ticket properties (no option is required,
# use just the options which should be changed!)
New => {
# if you want to add a Note
State => 'UAT successful',
Note => {
From => 'GenericAgent',
Subject => 'UAT time finished',
Body => 'The UAT time of this ticket has been reached! New State is set to "UAT successful"',
},
},
},