Creating an Asset with multiple owners?
Hi All.
How we do we this? I can be done in the web gui, but I can not work out how to do it from script. This is what I have so far. The issue with it is that it creates the Asset with the owner set to the second one. Not the first.
-Chris |
4 answers
hate that.
-Chris |
You can't set owners of an asset through the ANT tasks. Owner isn't a
attribute. The submitter is the owner. Rich |
Not quite what I asked.
Actually it does work, as when I specified someone else, someone other than (me) the user who logged on, they were recorded as the Asset owner. So I take it we can not add additional owners, like we can through the GUI? -Chris You can't set owners of an asset through the ANT tasks. Owner isn't a |
On 11/20/2011 6:23 PM, chrisgwarp wrote:
Not quite what I asked. I don't see how that is possible. Maybe someone created an attribute called Owner on their own, and that is what you see. But RAM doesn't use any attribute by the name of Owner to set the official Asset Owners. I've looked at the code and it just doesn't do that. If you or some administrator on your system had created a multi-valued Owner attribute then you should be able to have more than one. But if your administrator created it as single valued then only one could be set. Also, this is not the correct way to set a multi-valued attribute: <ram> <ram>${ram.asset.owner}</ram> </ram> <ram> <ram>${ram.asset.additional.owner}</ram> </ram> To do a multi-value use: <ram> <ram>${ram.asset.owner}</ram> <ram>${ram.asset.additional.owner}</ram> </ram> But I must stress this won't set the official Asset Owners. It will only set a multi-valued attribute that someone just happened to call Owner. -- Rich Kulp Rational Asset Manager developer |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.