Is it possible to create requirement link to test case with both requirement id and requirement link using OSLC API
hi
When manually creating a DOORS Requirement link with an RQM test case, RQM shows the DOORS link as an anchor only exposing the DOOR Requirement id with a hidden DOORS link as follows.
<a href="http://server:port/requirement_slug_id">REQUIREMENT_ID</a>
But when creating the requirement link using OSLC API, we have only one attribute for oslc_qm:validatesRequirement to add the link, but not requirement ID as follows
<oslc_qm:validatesRequirement rdf:resource="http://server:port/requirement_slug_id"/>
So the requirement link in RQM test case will be shown as follows:
<a href="http://server:port/requirement_slug_id">http://server:port/requirement_slug_id</a>
Is it possible to create the link with requirement link and requirement id as it works with manual linking?
Thank you advance.
Binoy
One answer
The validates requirement link is owned by and stored in ETM (quality management). The link subject should be the concept URI of the test case, and the value should be the concept URI of the requirement. You should be able to do this via a GET+PUT on a test case. See https://docs.oasis-open-projects.org/oslc-op/qm/v2.1/os/quality-management-shapes.html#TestCaseShape.
Comments
showing 5 of 6
show 1 more comments