Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

1

0 votes


Accepted answer

Permanent link
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

1 vote


One other answer

Permanent link
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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937
× 479

Question asked: May 09 '13, 3:05 a.m.

Question was seen: 5,349 times

Last updated: May 09 '13, 3:19 a.m.

Confirmation Cancel Confirm