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

Can we link testcase in RQM to requirement in DNG using REST APIs

Hi,


I can create a testcase using POST request to RQM but when I sent requirement details in xml request sent for test case create then Test case is created but requirement is not linked with this tc.
Is there any different method for linking TC and Req. using REST APIs ??
Can somebody help here pls.

- Regards, Deepak


0 votes



One answer

Permanent link
Looks like you're using the RQM Reportable REST API with a RQM OSLC API  property (oslc_qm:validatesRequirement ).  The RQM Reportable REST API does not support linking requirements to test artifacts (see https://jazz.net/wiki/bin/view/Main/RqmApi#Requirement).  Instead, use the RQM OSLC API

1 vote

Comments

 Hi Abhishek,

Thank you for your response. So for example if I want to send requirement link in my POST for a test case. It won't work. Would it require to sent out a separate OSLC request ? if yes, Can I find anywhere simple case of linking a testcase with requirement. 

<?xml version="1.0" encoding="UTF-8"?>
  />
  <ns2:webId>15000</ns2:webId>
  <ns3:title>Tittle</ns3:title>
  <ns3:description>Init text</ns3:description>
  <ns2:weight>100</ns2:weight>
  <ns2:estimate>0</ns2:estimate>
  <ns2:suspect>false</ns2:suspect>
  <ns2:category term="Functional Area" value="Module" />
  <ns2:variables/>
  <ns2:requirement href="https://dummy.com/rm/resources/_Fvw3UURfEeinYYCK1iDdZA" rel="validates" summary="460000: Dummy for P1 req" isSuspected="false" />
</ns2:testcase>

Thank you.
Deepak

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
× 1,699

Question asked: Apr 20 '18, 2:36 a.m.

Question was seen: 1,990 times

Last updated: Apr 25 '18, 10:52 p.m.

Confirmation Cancel Confirm