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

Link story to testcase by OSLC doesn't link story to testcase

Hi, 

@Vijay Patil solution in my further question works to add the story to the testcase, but the test case isn't shown on story in RTC.

Is there any chance to show it on both items, testcase and story? 
Do I need to add it also to the story by OSLC? How does this work?

thanks a lot,
Dani

0 votes


Accepted answer

Permanent link

 Found out, how to add testcase to story and the link is shown in both artifacts... 

Add this tag to your story/feature rdf: <oslc_cm:testedByTestCase rdf:ID="nID" rdf:resource="serverurl/qm/oslc_qm/contexts/projectAreaId/resources/com.ibm.rqm.planning.VersionedTestCase/testcaseID"/> 

Note: testcaseID has to be the long one (something like this: _zofLYAl9Eeu97Oo2w4wcGQ).
rdf:ID needs to be unique in the rdf 

story/feature rdf you can get by: 

Afterwards send the rdf via PUT to jazz.
maybe this helps someone else... 

Ralph Schoon selected this answer as the correct answer

0 votes

Comments

Thanks for sharing!

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
× 516
× 457
× 219
× 102
× 45
× 14

Question asked: Sep 22 '20, 9:12 a.m.

Question was seen: 1,230 times

Last updated: Oct 10 '20, 12:38 p.m.

Confirmation Cancel Confirm