Linking a DOORS Requirement to an RQM Test Case via DOORS Requirement ID
![]()
An RQM Test Case has a 'Requirements Links' section. Given DOORS requirement ID(s) (and other relevant DOORS project information), would the RqmApi be able to add a series of DOORS requirements links to a given Test Case?
Best.
|
One answer
![]()
First of all, you need to integrate RQM with either RRC/RDNG or DOORS in order to add any requirements to the test cases. For integrating DOORS, review the document below.
http://www-01.ibm.com/support/knowledgecenter/SSR27Q_4.0.7/com.ibm.rational.test.qm.doc/topics/t_ovw_int_rqm_doors.html Also, adding a requirement to a test case is not as simple as adding a link. I would suggest you add a requirement using the GUI then GET the test case to see what you need to add programmatically. For example, below XML code shows the test case has a "Validate Requirement" link to the requirement "Frequency of dividend transfer". <rdf:Description rdf:nodeID="A0"> Comments I would like to automate the linking of DOORS requirements to test cases in RQM because many will exist. I am currently able to bring in views of requirements from DOORS, and generate test cases for each in RQM. The challenge is this: a test case will need to validate multiple requirements, and doing this manually is not feasible in our automation effort. So given a set of DOORS requirements (ID, DOORS project, etc.), I need to make links to a specified RQM test case using the Rqm Reportable REST API.
Is this possible? I heard that this may be possible with OSLC, but would prefer to stick with theĀ Rqm Reportable REST API.
Best,
-Matt
If I read the RQM reportable REST API specification correctly, I am afraid that you are out of luck. The only resource related to requirements is "requirement", which is no longer supported.
7 As of Rational Quality Manager 4.0, the requirement Rational Quality Manager Reportable REST API is deprecated. As of Rational Quality Manager 5.0, the requirement Rational Quality Manager Reportable REST API is not supported.https://jazz.net/wiki/bin/view/Main/RqmApi#ResourcesFootnote7 Also based on footnote 2, I have the impression that the resource was intended for RRC only, not DOORS. You may consider OSLC, something like this https://jazz.net/forum/questions/164490/copy-requirement-links-in-a-test-case-via-oslc-api |
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.