What is the best way to get a URL to a RQM Artefact including the GC context
Link created in GC1 context:
<qm-server+pa-url>/_58ExuIw6EeisIf36OrWQ6w?oslc.configuration=<serverurl>%2Fgc%2Fconfiguration%2F11#action=com.ibm.rqm.planning.home.actionDispatcher&subAction=viewTestCase&id=9240§ionId=com.ibm.rqm.planning.editor.section.testCaseSummary
Link created in 2nd GC context:
/_58ExuIw6EeisIf36OrWQ6w#action=com.ibm.rqm.planning.home.actionDispatcher&subAction=viewTestCase&id=9240§ionId=com.ibm.rqm.planning.editor.section.testCaseSummary
Link created from a local Stream:
qm-server+pa-url/_58ExuIw6EeisIf36OrWQ6w#action=com.ibm.rqm.planning.home.actionDispatcher&subAction=viewTestCase&id=9240§ionId=com.ibm.rqm.planning.editor.section.testCaseSummary
So, my questions are:
1.)
Is the syntax/structure of the first Link reliable and could I use it e.g. programmatically to generate Links to QM Artefacts in a defined context
2.)
Why is the link not generated the same way all the time? Is this a defect?
Accepted answer
Hi Thomas,
Comments
You can use an OSLC QM API or RQM Reportable REST API URL (for a specific resource) since it will redirect to the web UI when opening in a browser.