API to fetch test artifact added to a task in RTC
Dear Team,
I have added a RQM test case as "Related Test Case" in link option for a rtc task.
I'm getting the below link when trying to access the test artifact using rtc jars.
When I hit this URL in a tab, I get the RQM test artifact properly.
But I would like to have the API to fetch the corresponding artifact.
Please help me find the REST API to fetch to the artifact?
One answer
You will have to use the OSLC QM API for that.
You could use the RTC internal REST Client (see https://rsjazz.wordpress.com/2019/03/07/registering-custom-resource-intensive-scenarios-to-clm-applications/ especially see https://github.com/jazz-community/custom-expensive-scenario-notifier-plainjava ) from the RTC Plain Java Client Libraries. Better would be to use an Eclipse Lyo based API against RQM.