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
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
One answer
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
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