How to access RTC Work Item History using RPE
My test Work Item status was changed from New to In Progress. I want to access the date this occurred. I would assume it would be in the Work Item history. Using RPE Rest API I don't see any history for my test WI's. Am I missing something? I know for DNG history data there is a history flag that must be used. Perhaps there is something similar for RTC history data?
|
Accepted answer
Hi Dave,
Work item history can be accessed through the reportable REST API in the "itemHistory" element. For example, the following URL: <server-url>/ccm/rpt/repository/workitem?fields=workitem/workItem[id=56]/itemHistory/* would return the history of the work item with id 56. Each itemHistory element has all the same attributes as a work item, and shows the state of the work item. It also has a dayModified attribute that represents the time at which the state changed. Dave Remmel selected this answer as the correct answer
|
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.