It's all about the answers!

Ask a question

link DNG requirement to RQM test case via REST API

Rachel Rogoway (1117) | asked Jul 04 '18, 11:17 a.m.

Hi all,

I need to link requirement to test case via REST API.
I want to do it this way:
-GET request for the test case, (testcase/
-edit the XML result that return from RQM - add requirement  link to the XML
-PUT request  - update the test case with the requirement link.

The test case XML result for the GET request is:

<?xml version="1.0" encoding="UTF-8"?>
<ns2:testcase xmlns:ns2="<>" xmlns:ns1="<>" xmlns:ns10="<>" xmlns:ns11="<>" xmlns:ns12="<>" xmlns:ns13="<<>" xmlns:ns14="<>" xmlns:ns15="<>" xmlns:ns16="<>" xmlns:ns17="<>" xmlns:ns18="<>" xmlns:ns20="<>" xmlns:ns21="<>" xmlns:ns3="<>" xmlns:ns4="<>" xmlns:ns5="<>" xmlns:ns6="<>" xmlns:ns7="<>" xmlns:ns8="<>" xmlns:ns9="<>">
<ns2:projectArea href="server_path/resource/itemOid/" alias="CVG+MBLY+%28Quality+Management%29" />
<ns2:stylesheet href="server_path/testcase/" />
<ns4:description />
<ns6:state ns1:resource="server_path/workflowstate/"></ns6:state>
<ns4:creator ns1:resource="server_path/">YYY</ns4:creator>
<ns2:priority ns1:resource="server_path/priority/literal.priority.101">literal.priority.101</ns2:priority>
<ns2:variables />
<ns2:template href="server_path/template/testcase/" />
<ns2:component href="server_path/component/_NW47s4vOEeelKpQbl_90kA" />

I try to link through RQM GUI and get the same result.  - There is no XML tag for the requirement links.

I know that it's possible to link only by Global Configuration. Is't related to that?
Are there specific headers or cookies that should be defined?

Thanks in advance,

One answer

permanent link
Paul Slauenwhite (8.4k12) | answered Jul 06 '18, 7:29 a.m.

 Hi Rachel,

Cross-application linking is not supported by the RQM Reportable REST API (see Instead, use the OSLC QM API (see

Your answer

Register or 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.