Best way to get list of tickets per queue from external app?

So I’m trying to figure out what the best way is to get a list of tickets
from RT on a per-queue basis.

Ideally, this should work without the whole RT server installed, so it
looks the REST or Atom interfaces are the best way to go. Unfortunately,
neither is well documented (cough, to say the least).

Basically, I’d like to be able to do this:

my $tickets = $thingy->open_tickets_by_queue(‘Bugs’);

while ( my $ticket = $tickets->next ) {
print "Title: ", $ticket->title, “\n”; # Subject?
print "Body: ", $ticket->body, “\n”:
}

Anybody have anything like this? If not, any suggestions on the best way
to start? RT::Client looks like the best solution, but there’s basically
no docs, and the test it comes with are all about updating objects, not
searching.

-dave

/===========================
VegGuide.Org
Your guide to all that’s veg.
===========================
/

So I’m trying to figure out what the best way is to get a list of
tickets
from RT on a per-queue basis.

Ideally, this should work without the whole RT server installed, so it
looks the REST or Atom interfaces are the best way to go.
Unfortunately,
neither is well documented (cough, to say the least).

Look at the functional tests for the Atom client code. And hassle
autrijus about docs for RT::Client :wink:

So I’m trying to figure out what the best way is to get a list of
tickets from RT on a per-queue basis.

Ideally, this should work without the whole RT server installed, so it
looks the REST or Atom interfaces are the best way to go.
Unfortunately, neither is well documented (cough, to say the least).

Look at the functional tests for the Atom client code. And hassle
autrijus about docs for RT::Client :wink:

Yeah, I looked at the tests. Unfortunately, given that the methods all
seem to be auto-generated, I can’t figure out which ones exist, much less
which I should be using. Plus all the tests seem to be about manipulating
tickets, not search and returning a list of them.

-dave

/===========================
VegGuide.Org
Your guide to all that’s veg.
===========================
/

Look at the functional tests for the Atom client code. And hassle
autrijus about docs for RT::Client :wink:

Yeah, I looked at the tests. Unfortunately, given that the methods all
seem to be auto-generated, I can’t figure out which ones exist, much
less
which I should be using. Plus all the tests seem to be about
manipulating
tickets, not search and returning a list of them.

Autrijus tells me he’ll improve the situation once he’s completed a bit
of customer work he’s currently doing.

Jesse