Most tracker detectors have a comment history related to the ticket / incident / problem / work item.
I want to get the same information from TFS via the work item SDK - ideally:
- Who created the comment.
- Comment text.
- Who last updated / edited the comment (if this event is possible in TFS?)
I determined that WorkItem has a collection of revisions availabe through the “Revisions” property and that you can scroll through each revision, but the revision does not have a “History” property, where I assume that I can find the comment created by the user. In addition, I do not consider it necessary to write a comment with each change - so I suspect that I will need to ignore revisions that do not have any information about the properties of the story?
MSDN Version Property
Any thoughts on the best way to get this “comment history” for a work item in TFS - is this the correct version list or should I use some other part of the API?
Bittercoder
source share