历史字段中的所有更改都不适合查看大量更改。是否可以更改可见更改的范围? [英] All changes in History field are unfriendly to see for a big number of changes. Is it possible to change a scope of visible changes?

查看:83
本文介绍了历史字段中的所有更改都不适合查看大量更改。是否可以更改可见更改的范围?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


在TFS 2015 Update 3中,历史记录字段(WorkItemLogControl类型)中的所有更改都有一个视图更改。曾经有一个完整的更改列表,但是现在您必须通过单击"显示更多"来手动展开它。


我们有很多具有悠久历史的工作项目(数以百计的变化),所以只能再进行10次更改才能扩展它真的很痛苦。是否可以更改此操作的范围?我能以某种方式设置它以查看单个
点击的完整更改列表吗?


如果有可能我也可以:

- 动态过滤什么样的我希望根据例如进行更改的用户看到的更改?

- 自动展开所有更改以查看包含每项更改详细信息的表格?每次必须手动完成它也很麻烦。


如果无法满足以上条件,是否有办法创建自定义WorkItemLogControl类型以改善我的建议?


谢谢

解决方案

您好HakX91,


感谢您在此发帖。


此WorkItemLogControl不支持自定义/编辑。您可以创建自己的自定义历史记录控件并将其添加到工作项。


您可以使用TFS REST API获取工作项的所有历史信息:


Http方法:GET

  http:// serverName:8080 / tfs / DefaultCollection / _apis / wit / workitems / 80 / revisions?api-version = 1.0  

您也可以使用TFS对象模型API参考此链接获取工作项历史记录:

http://geekswithblogs.net/TarunArora/archive/2011/08/21/tfs-sdk-work-item-history-visualizer- using-tfs-api.aspx


祝你好运b



Hi,

In TFS 2015 Update 3 there is a view change for all the changes in History field (WorkItemLogControl type). There used to be a full list of changes, but right now you have to manually expand it by clicking "Show more".

We have a lot of work items with a huge history (hundreds of changes), so it is really painful that you can expand it only by 10 more changes. Is it possible to change the scope of this action ? Can I somehow set it to see full changes list with a single click?

If it's possible can I also:
- Filter dynamically what kind of changes I want to see based on for example user who made a change ?
- Automatically expand all the changes to see the table with details for each change? It is also cumbersome that it has to be done manually each time.

If above is not possible, is there a way to create custom WorkItemLogControl type to improve it with my suggestions ?

Thank you

解决方案

Hi HakX91,

Thank you for posting here.

This WorkItemLogControl doesn't support to customize/edit. You could create your own custom history control and add it to workitem.

You could using TFS REST API to get all history information of a workitem:

Http method: GET

 http://serverName:8080/tfs/DefaultCollection/_apis/wit/workitems/80/revisions?api-version=1.0

You could also refer to this link to get workitem history using TFS object model API: http://geekswithblogs.net/TarunArora/archive/2011/08/21/tfs-sdk-work-item-history-visualizer-using-tfs-api.aspx

Best regards


这篇关于历史字段中的所有更改都不适合查看大量更改。是否可以更改可见更改的范围?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆