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. |
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 Adam Wereszczynski selected this answer as the correct answer
|
One other answer
Alternatively you can also use json query:
https://localhost:9443/ccm/service/com.ibm.team.workitem.common.internal.rest.IWorkItemRestService/workItemDTO2?includeHistory=false&id=24 |
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.