This is an AT question, but it overlaps with RT and since there is a large number of AT users in RT community I might get help here.

I write Perl script which reads all information about an Asset. I can get all AT specific information exept of links, owners and administrators of an asset.

Can anyone show an example of a code which does this?

Suppose you have an Asset list, you loop over it and you want to get list of experts for each asset, administrators, and the links... this should be something like:

while ($Asset = $Assets->Next) {
        $Administrators=$Asset=> ... ???
        $Owners=$Asset=>....
        $AssetOnWhichItDepends=$Asset=>..
        $AssetsWhichDependOnThisAsset=$Asset=>...
        $AssetWhichRefersTo=$asset=>...
        $AssetReferredToBy=$Asset=>...
        $AssetWhichRunsOn=$Asset=>...
        $AssetsWhichRun=$Asset=>...
        $ComponentOf=$Asset=>...
        $Has Component=$Asset=>...
        }

This should be a trivial thing to code, if you know how to do this.

Can anyone post an example?

Tom
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com

Reply via email to