TFS Changeset Mapping Tool

Maps source control changesets between source and target systems during work item migration, ensuring proper traceability and maintaining links between work items and code changes.

Last updated: September 10, 2025 | Edit this page | Discuss this page
top

Overview

The TFS Changeset Mapping Tool provides functionality for mapping source control changesets between source and target systems during work item migration. This tool is essential for maintaining traceability between work items and code changes when migrating between different Team Foundation Server instances or Azure DevOps organizations.

The tool ensures that work item links to source control changesets are properly maintained and updated to reference the corresponding changesets in the target system.

top

How It Works

The TFS Changeset Mapping Tool operates during work item migration to handle changeset references:

  1. Changeset Discovery: Identifies changeset links within work items being migrated
  2. Mapping Application: Maps source changeset IDs to target changeset IDs
  3. Link Updates: Updates work item changeset links to reference target system changesets
  4. Validation: Ensures mapped changesets exist in the target system

The tool integrates with work item migration processors to maintain proper traceability during the migration process.

top

Use Cases

Common scenarios where the TFS Changeset Mapping Tool is essential:

  • Source Control Migration: When migrating both work items and source control repositories
  • Cross-System Migration: Moving work items between different TFS/Azure DevOps instances
  • Repository Consolidation: Combining multiple source repositories into a unified target
  • Traceability Maintenance: Preserving code-to-work-item relationships during migration
  • Historical Preservation: Maintaining audit trails and change history
top

Configuration Structure

top

Options

Parameter
Type
Required
Description
Default Value
Parameter:
ChangeSetMappingFile
Type:
String
Required:
false
Description:
missing XML code comments
Default:
missing XML code comments
Parameter:
Enabled
Type:
Boolean
Required:
false
Description:
If set to true then the tool will run. Set to false and the processor will not run.
Default:
true
top

Sample

{
  "MigrationTools": {
    "Version": "16.0",
    "CommonTools": {
      "TfsChangeSetMappingTool": {
        "Enabled": "True",
        "File": "c:\\changesetmappings.json"
      }
    }
  }
}
top

Defaults

{
  "MigrationTools": {
    "Version": "16.0",
    "CommonTools": {
      "TfsChangeSetMappingTool": {
        "Enabled": "False",
        "File": ""
      }
    }
  }
}
top

Basic Examples

The TFS Changeset Mapping Tool requires minimal configuration to enable changeset mapping:

{
  "TfsChangeSetMappingTool": {
    "Enabled": true
  }
}
top

Complex Examples

The tool operates automatically when enabled, identifying and mapping changeset references found in work items during migration.

top

Common Scenarios

top

Standard Changeset Mapping

Enable changeset mapping for work item migration:

{
  "TfsChangeSetMappingTool": {
    "Enabled": true
  }
}
top

Migration with Source Control

When migrating both work items and source control, enable the tool to maintain links:

{
  "CommonTools": {
    "TfsChangeSetMappingTool": {
      "Enabled": true
    },
    "TfsGitRepositoryTool": {
      "Enabled": true,
      "Mappings": {
        "SourceRepo": "TargetRepo"
      }
    }
  }
}
top

Good Practices

top

Migration Planning

  • Source Control First: Migrate source control repositories before work items when possible
  • Changeset Mapping: Ensure changeset mappings are available before work item migration
  • Coordination: Coordinate with source control migration tools for complete traceability
  • Validation: Verify changeset existence in target before migration
top

Configuration Management

  • Enable When Needed: Only enable when changeset links need to be preserved
  • Integration: Use in conjunction with source control migration tools
  • Testing: Validate changeset mapping with sample work items
  • Documentation: Document changeset mapping strategy and requirements
top

Troubleshooting

top

Common Issues

Changeset Links Not Updated:

  • Verify the tool is enabled ("Enabled": true)
  • Check that changesets exist in the target system
  • Ensure proper changeset mapping is available
  • Review migration logs for changeset-related messages

Missing Changesets in Target:

  • Confirm source control migration completed successfully
  • Verify changeset mapping between source and target systems
  • Check permissions for accessing target changesets
  • Review source control migration logs

Performance Issues:

  • Changeset mapping typically doesn’t impact performance significantly
  • Consider migration batch sizes for large numbers of work items
  • Monitor target system performance during migration
  • Review overall migration strategy timing
top

Schema

This is the JSON schema that defines the structure and validation rules for this configuration.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://devopsmigration.io/schema/schema.tools.tfschangesetmappingtool.json",
  "title": "TfsChangeSetMappingTool",
  "description": "missing XML code comments",
  "type": "object",
  "properties": {
    "ChangeSetMappingFile": {
      "description": "missing XML code comments",
      "type": "string"
    },
    "Enabled": {
      "description": "If set to `true` then the tool will run. Set to `false` and the processor will not run.",
      "type": "boolean",
      "default": "true"
    }
  }
}
Project Information
Azure DevOps Marketplace
YouTube Channel
Maintainer

Created and maintained by Martin Hinshelwood of nkdagility.com

Getting Support
Community Support
Questions & Discussions

The first place to look for usage, configuration, and general help.

Commercial Support

We provide training, ad-hoc support, and full service migrations through our professional services.

Azure DevOps Migration Services
Documentation