However, I'm struggling to find any information about this in the documentation. I'm fairly new to OTRS, and I wasn't the person who installed/configured the system, so it may be that I've overlooked something which would otherwise be 'obvious'.
What I want the script to do is:
Grab a bunch of tickets with specific characteristics, similar to this method in Kernel/Config/GenericAgent.pm
Code: Select all
'forward' => {n
Queue => 'Forward'
States => ['new', 'open'],
Locks => ['unlock'],
TicketCreateTimeOtherMinutes => 30
}
- Send the ticket subject and text to another email address (I know how to do this in Perl once I've got the ticket data).
- Mark the ticket as closed/successful.