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 _______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
