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

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.

0 votes



One answer

Permanent link

 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>

0 votes

Comments

 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

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,938
× 7,495

Question asked: Oct 09 '19, 3:12 a.m.

Question was seen: 2,363 times

Last updated: Oct 13 '19, 1:35 p.m.

Confirmation Cancel Confirm