It's all about the answers!

Ask a question

RTC Queries Web version on History

Robin Freeman (161112) | asked Oct 04 '13, 10:53 a.m.
 Is there any way to run a query on the "History" for each work item?   We would like to get the exact modification that was done on a work item without going to the work item to get the details.  

Mark Guertin commented Oct 04 '13, 3:35 p.m.

I just want to make sure I understand clearly what you're asking for. What you would like is a way to display just the history of a work item without opening the work item itself?

2 answers

permanent link
DH Lee (25784446) | answered Oct 07 '13, 12:50 a.m.
Hello Robin,

I think might be useful. Please have a look and let us know if you find if helpful.


permanent link
Brian Fleming (1.6k11928) | answered Oct 08 '13, 9:51 a.m.
I'm not sure this is strictly what you're after but a REST call such as:

https://SERVER:PORT/CONTEXT/rpt/repository/workitem?fields=workitem/workItem[id=REPLACE WITH VALID ID]/(itemHistory/*)

will return all history of a workitem.  To determine what specifically changed between "versions" you could extract and compare the contents of each "itemHistory" tag.

This sounds harder than just going to the UI and checking the History there.

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.