It's all about the answers!

Ask a question

RM API - Create Validate By Link using RM.Data.createLink?

Dave Evans (1362032) | asked Oct 01 '20, 12:00 p.m.

Trying to script setting a "Validated By" link from a DOORS artifact to an RQM Test Step. I've got the artifactRef and the test step's dcterms:identifier, which is a URL. I tried using:

RM.Data.createLink(artifactRef, RM.Data.VALIDATED_BY, testStepURL, callback);

But this results in return code: OPERATION_BAD_REQUEST being returned to my callback function.

Does the RM API support linking to test artifacts? If not, is there a supported method of setting a 'Validated by' link programatically?


One answer

permanent link
Bartosz Chrabski (2.7k11936) | answered Oct 01 '20, 1:52 p.m.

Widget API supports only creating links inside RM (between artifacts). If You want to create links with test cases then You should use OSLC. Hope it will help.

Your answer

Register or to post your answer.