Is it possible to return the "Related Artifacts" via the Reportable REST API?
Is it possible to return the "Related Artifacts" via the reportable REST API?
I have a query of the form
https://localhost:9443/ccm/rpt/repository/workitem?fields=workitem/workItem[id='304366']/(id|summary|related/(id|summary|related/(id/type/name)|type/name)|children/(id|summary|related)|type/(id|name))
This only gives the related work items but not all the related artifacts.
I have a query of the form
https://localhost:9443/ccm/rpt/repository/workitem?fields=workitem/workItem[id='304366']/(id|summary|related/(id|summary|related/(id/type/name)|type/name)|children/(id|summary|related)|type/(id|name))
This only gives the related work items but not all the related artifacts.
Accepted answer
Hi Adam,
I have tried running following query on my machine:
https://localhost:9443/ccm/rpt/repository/workitem?fields=workitem/workItem[id='24']/*/*/*
and there is no relatedArtifacts field there.
Also jazz.net wiki says nothing about that: https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI#workitem
You can try using RQM API to check if it is possible from there: https://jazz.net/wiki/bin/view/Main/RqmApi
I have tried running following query on my machine:
https://localhost:9443/ccm/rpt/repository/workitem?fields=workitem/workItem[id='24']/*/*/*
and there is no relatedArtifacts field there.
Also jazz.net wiki says nothing about that: https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI#workitem
You can try using RQM API to check if it is possible from there: https://jazz.net/wiki/bin/view/Main/RqmApi