
10 Nov
2006
10 Nov
'06
9:38 a.m.
Hi Alexander,
Sounds like you didn't regard the API-documentation http://dev.otrs.org/2.0/Kernel/System/Ticket.html#item_ticketsearch There is really no definite explanation there how to use the function, but I think it will help you.
I have (maybe partially) read http://dev.otrs.org/cvs/Kernel/System/Ticket.html#item_ticketsearch I fixed my issue. I used : my @TicketIDs = $TicketObject->TicketSearch( Result => 'ARRAY'|| 'HASH', UserID => 1, QueueID => 15, States => ['new','open'], ); QueueID must be used for searching in ONE queue. QueueIDs must be used for SEVERAL queues. For one state, I suppose I need to use State instead of States. Regards. Eric