It's all about the answers!

Ask a question

Programmatically link files to (global-config enabled) QM test cases?


Steven Hovater (686) | asked Aug 13, 8:08 a.m.
An internal customer is adopting RTC-RM-QM (6.0.6.1). We're using global configurations.

They have thousands of files in RTC that they want to link to test cases.

Assume that RTC and QM are already configured so that links can be created manually (via Eclipse RTC).

Does API exist ( I'm assuming OSLC) that could be exercised to programmatically create these links?

thanks!
Steve

Accepted answer


permanent link
Geoffrey Clemm (29.3k23035) | answered Aug 13, 12:10 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Currently, there is no public API to create links between EWM (RTC) files and test cases, so you would need to use the GUI.   This is obviously a gap, so I'd recommend submitting an enhancement request asking for this functionality to be exposed via a public API.   Note:  There of course is an internal API to do so, so if your need is urgent, you could try that with the usual caveat that internal APIs are subject to change in future releases.

Steven Hovater selected this answer as the correct answer

Comments
Steven Hovater commented Aug 13, 3:37 p.m.

hey Geoff. thanks for the confirmation and suggestion. 

2 other answers



permanent link
Jim Amsden (19336) | answered Aug 13, 10:29 a.m.

 The ELM offering provides links between requirements, change requests, and test cases: requirements are implemented by change requests and validated by test cases. Any defects discovered are captured as RTC work items. Links from these lifecycle artifacts are not typically to specific source files, but rather change sets that record the actual work done. Developers would associate their change sets with work items before delivering the work to a shared stream. This links the files changed in the change set with the associated work item, which could then be linked to requirements and test cases as needed.


permanent link
Surya Tripathi (65017) | answered Aug 13, 1:54 p.m.

 Creating file links creates new version of files. You would also need link type information. Furthermore, global configuration is in picture. Putting it all together, it will be very error prone to use internal APIs to create file links. I would recommend submitting enhancement request. 

Your answer


Register or to post your answer.