[dev] TicketSearch

Paul Rhein Paul_Rhein at ept.lu
Thu Nov 9 16:33:28 CET 2006


hi

try to quote the 15 as in  '15' or use QueueName => 'yourQueue'

hiw

-p.




"Eric Boudrand" <eb at sistech.fr>@otrs.org on 09/11/2006 16:02:41

Please respond to "Development community of OTRS.org" <dev at otrs.org>

Sent by:    dev-bounces at otrs.org


To:    "Development community of OTRS.org" <dev at otrs.org>
cc:

Subject:    [dev] TicketSearch

Hello,

I am trying to find all open tickets available in a specific queue with :

my @TicketIDs = $TicketObject->TicketSearch(
 Result => 'ARRAY',
 States => 'open',
 QueueIDs => 15,
 );

This call outputs an empty array. In Ticket.pm, the function exits in line
2355. I think the problem come from the fact that there is no UserID
defined
from this search. If I add an UserID, the search look in all the queues.
How
can I restrict to this specific queue ?

Regards.

Eric Boudrand

_______________________________________________
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




More information about the dev mailing list