Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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!

0 votes



One answer

Permanent link
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);

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11,055

Question asked: Nov 11 '12, 11:39 p.m.

Question was seen: 6,827 times

Last updated: Nov 12 '12, 11:15 a.m.

Confirmation Cancel Confirm