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.  

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

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 (25784146) | answered Oct 07 '13, 12:50 a.m.
JAZZ DEVELOPER
Hello Robin,

I think https://jazz.net/forum/questions/82966/does-rtc-provide-query-creationmodification-history might be useful. Please have a look and let us know if you find if helpful.

Regards,
DH

permanent link
Brian Fleming (1.6k11728) | 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.