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

Adding links from RRC to RTC using the API

Hi all

I am helping a test team populate an RRC project area with test data, and wanted to add in comment and links to RTC work items via the REST API. 

I understand we don't expose the ability to add comments via REST.  Are there any other options anyone is aware of?

Does anyone know of any code snippets or other examples I can use to add a link to a RTC work item in a requirement artifact in RRC?

many thanks

anthony

0 votes



One answer

Permanent link
Anthony

Do you consider OSLC API to add the link from requirement in RRC to RTC workitem?
I remember I tried before in 301.x following the rough procedures as below
1) using poster to get RRC requirement xml:
Get: https://localhost:9443/rm/resources/_hlKE4AiOEeOCQOfYSf4D1Q
2) add <oslc_rm:implementedBy rdf:resource="https://localhost:9443/ccm/resource/itemName/com.ibm.team.workitem.WorkItem/101"/>

to the near end of the XML and PUT to the same URL
I set the content type to application/rdf+xml

Don
 

0 votes

Comments

Thaks Don - so we will be using the RTC API to add the link - rather than doing it from the RRC side.  I saw that RTC API but was not sure if this was the correct way to do it.  Let me experiment - many thanks for the pointer.

anthony

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
× 10,926

Question asked: Feb 05 '14, 7:08 p.m.

Question was seen: 4,528 times

Last updated: Feb 06 '14, 6:43 a.m.

Confirmation Cancel Confirm