The TFS Integration Tools (Platform) ship with default configuration templates, which can include some or all of the following, based on your configuration options:
- File System
- IBM Rational
- Team Foundation Server
In this post we will have a closer look at the WorkItemTracking_ExplicitFieldMap file, pointing out some possible issues you may encounter or features you may wish to configure.
- For a generic overview of the TFS Integration Tools configuration file structure, peruse the configuration documentation that ships with the product first.
- To decide which template is the right one, have a look at Which configuration template should I use.
Here is the complete configuration template file:
We will discuss three topics which are pertinent to this specific configuration template.
Discussion 1 – WorkItemTypes
The default template only migrates work items of type Bug. If you wish to migrate other work item types you have two options:
- Remove explicit work item type definitions, which will process all work item types encountered.
- Add more explicit work item type definitions for other work items types to be migrated.
Discussion 2 – MappedFields
The default template is suited for migrations, in other words moving from source (left) to target (right). If you want to perform synchronizations, you have to not only define the mapping from left to right, but also from right to left as follows:
Note: <- 1 … the * –>* rules means that we are mapping everything from left to right, or right to left, unless a more explicit mapping is defined as is the case for Microsoft.VSTS.Common.Priority in the default template.
Discussion 3 – Disabling Link Relationships
BY default there are custom settings for linking, which means that link relationships will be analyzed and migrated where possible.
If you are wondering why links are getting lost have a look at Why are my WIT Links not migrating and if you wish to change link types have a peek at Why are my WIT Links not migrating? Part II. If you wish to disable linking all together, you can the following change:
Special thanks goes to Omar (ALM MVP) who helped highlight these possible issues/features