OSLC Links
I have two server :
Server 1
Server 2
In server 1 I have some work items linked to test cases, I moved the workitems in server 1 to server 2 , and test cases in RQM from server 1 to RQM in server 2.
Both Test cases and work items are moved to server 2, but the links between workitems and test cases are not moved to server 2 as in server 1.
I want to re-establish the links between them using OSLC.
Now what I want to do is that I want to attach the links between test cases and workitems using OSLC.
|
One answer
Hi,
I am not exactly sure what do you mean with moved the work items and test cases, I assume you exported both from server 1 and re-imported them in server 2, if that is the case, the first step would be to create bot of the artifacts in server 2, you can't link what does not exist. Once they exist again in server 2, the second step is to link them as you normally would do with any other artifact, for example, for one of my test cases the link looks like this:
<oslc_qm:testsChangeRequest rdf:ID="n0" rdf:resource="https://myserver:9443/ccm/resource/itemName/com.ibm.team.workitem.WorkItem/1641"/>
<rdf:Description rdf:about="#n0">
<rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement"/>
<dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">1641: Post-Project Initialization</dcterms:title>
</rdf:Description>
Comments
Abhishek Kumar
commented Oct 13 '19, 1:35 p.m.
Thanks Elohim,
Yes, you are correct that I exported the work items from server 1 to server 2 and test cases from server 1 to server 2.
Now what I want to do is that I want to fetch the links between workitems and test cases in server 1 and then re-establish that same link in server 2 using OSLC.
Can you provide me some code snippets that can help me in achieving this using OSLC.
|
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.