Is there an API that could provide full details of an artifac's history?
Hi, I am looking for an API that could return full information for an artifact's history.
We have tryed : $f = '/ccm/rpt/repository/workitem?fields=workitem/workItem[id=31]/(itemHistory/*)'; but information returned sems not to be complete. Thanks! |
One answer
I'm not sure why this is not working for you, but as an alternative you could go to the WorkItemRestService and and call GET workItemDTO2. It has a parameter "includeHistory".
For example, you can get only the history for a work item with id= 1 using the following call:
https://localhost:9443/jazz/service/com.ibm.team.workitem.common.internal.rest.IWorkItemRestService/workItemDTO2?id=1&includeHistory=true
HTH,
Jan.
Comments 1
Buzz Moschetti
commented Feb 27 '13, 10:54 a.m.
The ccm/rpt/repository call "works" but it seems not to return ALL the fields that might have changed. It returns description and summary (title) OK but owner (for example) does not come back.
|
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.