Programmatically link files to (global-config enabled) QM test cases?
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
Geoffrey Clemm (30.1k●3●30●35)
| answered Aug 13 '19, 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 '19, 3:37 p.m.
hey Geoff. thanks for the confirmation and suggestion. |
2 other answers
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. |
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
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.