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.
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.
topHow It Works
The TFS Changeset Mapping Tool operates during work item migration to handle changeset references:
- Changeset Discovery: Identifies changeset links within work items being migrated
- Mapping Application: Maps source changeset IDs to target changeset IDs
- Link Updates: Updates work item changeset links to reference target system changesets
- 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.
topUse 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
Configuration Structure
topOptions
topSample
{
"MigrationTools": {
"Version": "16.0",
"CommonTools": {
"TfsChangeSetMappingTool": {
"Enabled": "True",
"File": "c:\\changesetmappings.json"
}
}
}
}
Defaults
{
"MigrationTools": {
"Version": "16.0",
"CommonTools": {
"TfsChangeSetMappingTool": {
"Enabled": "False",
"File": ""
}
}
}
}
Basic Examples
The TFS Changeset Mapping Tool requires minimal configuration to enable changeset mapping:
{
"TfsChangeSetMappingTool": {
"Enabled": true
}
}
Complex Examples
The tool operates automatically when enabled, identifying and mapping changeset references found in work items during migration.
topCommon Scenarios
topStandard Changeset Mapping
Enable changeset mapping for work item migration:
{
"TfsChangeSetMappingTool": {
"Enabled": true
}
}
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"
}
}
}
}
Good Practices
topMigration 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
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
Troubleshooting
topCommon 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
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"
}
}
}
In this article
Project Information
Azure DevOps Marketplace
Maintainer
Created and maintained by Martin Hinshelwood of nkdagility.com
Getting Support
Community Support
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