It's all about the answers!

Ask a question

Is it possible to return the "Related Artifacts" via the Reportable REST API?


0
1
Adam Wereszczynski (92811932) | asked May 09 '13, 3:05 a.m.
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


permanent link
Krzysztof Ka┼║mierczyk (7.4k475103) | answered May 09 '13, 3:09 a.m.
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



permanent link
Krzysztof Ka┼║mierczyk (7.4k475103) | answered May 09 '13, 3:19 a.m.
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


Register or to post 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.