开发者

Non-editable Work Item Type in TFS 2010

Is there any possibility to create a custom Work Item Type in TFS 2010 that is read-only after 开发者_开发技巧the first save?

We would like to implement a very simple code review solution based on a custom review work item associated to a changeset.

The idea is that after the work item is created, it can not be altered afterwards (not even by the original creator).

I've tried setting the System.ChangeDate to FROZEN but that isn't supported and unfortunately the first save is also a change, so setting it to EMPTY or READONLY doesn't work either.


Did you have a look at the community solution for code review for TFS 2010 http://teamreview.codeplex.com/

The most complete solution for Team System Code Reviews: a specific work item type and a Visual Studio add-in for a completely in IDE code review experience. TeamReview exploits the advantages of Team System and VSX to reduce waste and surface new business value from code reviews

HTH Chees, Tarun


You might want to look at the work item type's workflow. You can make changes to fields in both the states and the transitions.

You could try to modify the transition from New to To Do (or whatever the first state is called for your WI).

In those transitions, you can freeze or make read-only the fields that you want to freeze.

Hope this helps, Assaf.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜