$TicketObject->TicketSearch() in the API

Mark Schouten <[email protected]>
Newsgroups gmane.comp.otrs.devel
Organization Tuxis Internet Engineering
Message-ID <[email protected]>
Hi,

I've sent the message below to the users-mailinglist, but maybe it's
more appropriate in here. Does anyone have a clue what I'm doing wrong?

Thanks!


Hi,

I'm trying to write a script that searches for all open tickets that
carry a GPG signature so I can automatically download the needed public
keys. 
While I thought the Search-request would be easy, I'm not getting the
expected results.

I expected the following search to return all my tickets:
my %TicketIDs = $TicketObject->TicketSearch(
    Result  => 'HASH',
    UserID => 1,
    Permission => 'rw',
);

But instead, it only returns two tickets. The first two I created. Am I
missing something here?
-- 
Mark Schouten  | Tuxis Internet Engineering
KvK: 09218193  | http://www.tuxis.nl/
T: 0318 640168 | [email protected]
M: 06 53463918 | [email protected]

---------------------------------------------------------------------
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAkxEJ2kACgkQBJsbGZrWF/+maACglIuf5LN+DUDMkcoQQAaNf8Ip
N4sAoKeCb0cuvcXKvwZwv5CXKjjmd1UQ
=ZxhQ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.