It's all about the answers!

Ask a question

API - How to create link from RAM asset to a CUSTOM RTC work item type


Angela Borchard (701220) | asked Nov 11 '12, 11:39 p.m.

Hi,

We have integrated RAM (7.5.1.1) with RTC (4.0.0.1).  Asset type A has a resource link to RTC which will be used to link a CUSTOM RTC work-item type B.

I found the following information on how to set normal attributes:

http://publib.boulder.ibm.com/infocenter/ramhelp/v7r5m1/index.jsp?topic=%2Fcom.ibm.ram.doc%2Ftopics%2Fr_api_setanassetattribute.html

How can I create an asset via the API with a link to a custom RTC work item type?

Thanks!

One answer



permanent link
Eric Bordeau (27632) | answered Nov 12 '12, 11:15 a.m.
JAZZ DEVELOPER
It should look something like this:
RAMResourceAttribute attr = (RAMResourceAttribute)ramAsset.getAssetAttribute("My Attribute");
ResourceLink link = new ResourceLink();
link.setUrl("https://example.com/ccm/WorkItem/12345");
attr.addLink(link);

Your answer


Register or to post 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.