Fetching the comment history for a work item in TFS

≯℡__Kan透↙ 提交于 2019-12-04 07:11:57

In order to fetch the comment history you need to access the "History" property on the Work Item revision.

WorkItem.History Property

Obviously the current (latest) version of the work item will have this field as empty, but historical revision comments will be there.

TFS: Getting workitem history from the api

The "History" displayed on a work item in Team Explorer is built by looping through the Revissions and displaying both the fields that were changed and the text in the "History" property

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!