It's all about the answers!

Ask a question

Copy requirement links in a test case via OSLC API

Jérémy Friant (10711) | asked Sep 30 '14, 11:16 a.m.
I have a problem but I do not know how to use the OSLC API. Here it is :

I would like to copy requirements links (present in another RQM project) in a test case (in a new RQM project) via OSLC. 

How to access to my test cases and particularly the requirements section ?

My research into the use of the OSLC API were not conclusive, could you give me a track start ? 

thank you



Accepted answer

permanent link
Matthew Brazeau (2155) | answered Oct 03 '14, 12:01 p.m.
Hi Paul,

I need to PUT oslc_qm:validatesRequirement link(s) into existing Test Case(s), but I am starting with DOORS requirement ID(s) (not sure what other pertinent information I will need). I am currently using the Rqm Reportable REST API to create test cases / other artifacts, but it seems as though I will need to use OSLC to add DOORS requirements.

Do you know what other DOORS information I will need to generate the validatesRequirement link, and when you mentioned round-trip traceabiilty, is that for the DOORS side of reporting (i.e. in DOORS a requirement has a 'Vailidated By' attribute).

In reference to:


Paul Slauenwhite selected this answer as the correct answer

Paul Slauenwhite commented Oct 03 '14, 12:12 p.m.

I'd recommend using the same approach as, except for the OSLC QM V2 API.  Yes, you need to use the OSLC QM V2 API (see

One other answer

permanent link
Paul Slauenwhite (8.4k12) | answered Oct 02 '14, 7:42 a.m.
Hi Jérémy,

You can use the OSLC QM V2 API to:

1. GET the TestCase resource from the first project.
2. Extract the oslc_qm:validatesRequirement link(s).
3. GET the TestCase resource from the second project.
4. Add the oslc_qm:validatesRequirement link(s).
5. PUT the TestCase resource to the second project.

Note: You will have to do the same steps for the Requirement resource to add the backlinks for round-trip traceability.


Your answer

Register or to post your answer.