How to get the work item change history by Java API?
This question is inherited by my previous question of https://jazz.net/forum/questions/213852/how-to-get-the-work-item-changed-attribute-and-its-newold-value-for-save-work-item-operation-follow-up-action?page=1&focusedAnswerId=213941#
The requirement is to get the changed attributes when save work item. The experts suggested to get new and old Attribute value to compare. I guess the work item history may already compute the changes so I asked here again for is there any public Java API to get work item history?
I searched the source code, and found that WorkItemHistoryService has computeHistory function to get the changeLog. The computeHistory function probably retrieve all the attributes of new and old work item and then them.
But it is the internal service, I think if there is a public API to get work item history, it may reduce the replicate code work.
Any one can help?
Thanks very much!
The requirement is to get the changed attributes when save work item. The experts suggested to get new and old Attribute value to compare. I guess the work item history may already compute the changes so I asked here again for is there any public Java API to get work item history?
I searched the source code, and found that WorkItemHistoryService has computeHistory function to get the changeLog. The computeHistory function probably retrieve all the attributes of new and old work item and then them.
But it is the internal service, I think if there is a public API to get work item history, it may reduce the replicate code work.
Any one can help?
Thanks very much!