Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Plain Java Client - Retrieving history for a work item

How do I retrieve history for a work item when using the Plain Java Client API's?

Thanks.

0 votes

Comments

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



One answer

Permanent link

 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. 

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Dec 07 '11, 8:24 a.m.

Question was seen: 5,528 times

Last updated: Apr 12 '17, 3:17 a.m.

Confirmation Cancel Confirm