Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

How can I get the linked Requirements from a testcase

I have retrieved the XML-representation of a testcase with REST-API. But in the xml-file i cannot see any reference to the "Linked Requirements".


How can I get the linked requirements? How should a REST-API call look like?

0 votes



One answer

Permanent link

Try this:

https://[server:port]/qm/oslc_qm/contexts/[Project Area URI]/resources/com.ibm.rqm.planning.VersionedTestCase/[Test Case URI]?partialproperties=true&oslc_config.context=[Config URI]

and search for:
<oslc_qm:validatesRequirement

Headers:
Accept application/xml


0 votes

Comments

Please note that the API above is the Reportable REST API and not the OSLC API. The headers are documented here: https://jazz.net/wiki/bin/view/Main/RqmApi#Headers OSLC-Core-Version is not a supported header in this API. The Accept header value above is also incorrect (see the link above).

Thanks Ralph,
Agree, this is not an OSLC API call. Therefore the OSLC-header value is not required. 
Corrected.

1 vote

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,969

Question asked: Jul 11 '24, 4:02 a.m.

Question was seen: 701 times

Last updated: Aug 26 '24, 6:59 a.m.

Confirmation Cancel Confirm