It's all about the answers!

Ask a question

Plain Java Client - Retrieving history for a work item


Rich Pastuch (2197) | asked Dec 07 '11, 8:24 a.m.
retagged Oct 31 '12, 1:54 p.m. by Evan Hughes (2.4k1318)
How do I retrieve history for a work item when using the Plain Java Client API's?

Thanks.

Comments
Aaron Cohen commented Sep 24 '12, 10:51 a.m. | edited Oct 31 '12, 1:53 p.m.
JAZZ DEVELOPER

 I am also interested in this topic. I don't see versioning for Work Items in the OSLC spec. 

One answer



permanent link
Ralph Schoon (63.3k33646) | answered Apr 12 '17, 3:17 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 From reading the interface documentation the interface com.ibm.team.repository.common.IAuditable provides the com.ibm.team.repository.common.IAuditable.getPredecessorState() and com.ibm.team.repository.common.IAuditable.getMergePredecessorState() which you should be able to use to get to the history items. I have no example code for it. 

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.