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

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.

0 votes



One answer

Permanent link
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">
    <rdf:subject rdf:resource="https://clm:9443/qm/oslc_qm/contexts/_ZcMRAK2SEeO_fciXVKJ7Tg/resources/com.ibm.rqm.planning.VersionedTestCase/_E7eJgK2TEeO_fciXVKJ7Tg" />
    <rdf:predicate rdf:resource="http://open-services.net/ns/qm#validatesRequirement" />
    <rdf:object rdf:resource="https://clm:9443/rm/resources/_b5f7b94c2d3344a9a5b465936ac50edd" />
    <rdf:type rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement" />
    <dcterms:title>Frequency of dividend transfer</dcterms:title>
</rdf:Description>

0 votes

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

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
× 12,019

Question asked: Oct 01 '14, 3:02 p.m.

Question was seen: 6,601 times

Last updated: Oct 02 '14, 9:35 p.m.

Confirmation Cancel Confirm