[rt-users] AT question: how to read links and administrators/owners?
Tomasz Wlodek
tomw at bnl.gov
Mon Mar 12 12:50:22 EDT 2007
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
More information about the rt-users
mailing list