[rt-users] Perl script list all tickets = zero

Arthur Rance arthur_rance at hotmail.com
Fri Nov 9 08:45:17 EST 2012


Hello,
zero ticket. why ?
#!/usr/bin/env perl use strict;use warnings; use RT; RT::LoadConfig();RT::Init();RT::ConnectToDatabase(); my $tickets = new RT::Tickets( $RT::SystemUser );$tickets->FindAllRows; my $count = $tickets->Count;print "$count\n"; # why zero ? 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20121109/50b55cdc/attachment.htm>


More information about the rt-users mailing list