It's all about the answers!

Ask a question

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


Dani Simon (70114) | asked Sep 22 '20, 9:12 a.m.
edited Sep 24 '20, 2:34 a.m.

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

Accepted answer


permanent link
Dani Simon (70114) | answered Oct 09 '20, 4:44 a.m.

 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

Comments
Ralph Schoon commented Oct 10 '20, 12:38 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Thanks for sharing!

Your answer


Register or 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.