[rt-users] Retrieving information from RT-database

Sternberger, Sven sven.sternberger at desy.de
Fri Jan 30 05:15:33 EST 2015


a simple way is to use the commandline interface

/opt/rt4/bin/rt ls -t user
- gives you a list of all user

/opt/rt4/bin/rt show user/123456
- gives you all information about user with the id 123456

the interface utilize the rest interface, which is much easier
to use than the perl api (IMHO)



----- Ursprüngliche Mail -----
> Von: "Luca Mazzaferro" <luca.mazzaferro at rzg.mpg.de>
> An: rt-users at lists.bestpractical.com
> Gesendet: Donnerstag, 29. Januar 2015 10:14:08
> Betreff: [rt-users] Retrieving information from RT-database

> Dear Users,
> I'm writing a pieces of code in Perl to retrieve information directly
> from the RT internal database.
> I would like to know if there are some API provided by RT to interact
> with the database,
> for example retrieve the list of users and so on.
> I need this informations out of the web interface.
> Thank you.
> Cheers,
>     Luca M.

More information about the rt-users mailing list