mohamedradwan.com - Nothing can beat experience
Post
Cancel

Extending the customization of TFS Process Template

We can customize TFS process template by modifying the definition for different process template items (XML files), like Work-Items, Process Configuration, Categories, Global List, Global Workflow, etc. The XML customization includes:

  • Adding more fields
  • Adding more rules
  • Adding more states
  • Modifying many configurations for how the displaying and the performing of TWA (Team Web Access)

This could give us many possibilities, but sometimes we need more than just adding fields or rules. Sometimes we need real programming capabilities, such as getting the current value from a Work-Item and putting it in another Work-Item, or just calculating some Work-Items values together, or changing a Work-Item’s field based on a change from a field in another Work-Item. So how can we do that?

[We have 3 options:]{style=”color:#339966;”}

1. We can use a TFS server-side plugin which runs within the application pool of the TFS

How to create a TFS Server Side Plugin

2. Register a web service by subscribing for TFS Service that is based on SQL Server notification

How to Subscribe to TFS Event Model

3. We can also create a custom control that does that. However, this will not work for TWA (Team Web Access) or in Excel or any other client unless we create a custom control for TWA and find a way for other clients as well.

Custom Controls for TFS Work Item Tracking

For more information, see Adding field to a requirement work item that gets its value from a child item.

Trending Tags