Field To Field Map

Maps the value from a source field to a target field directly, with optional default value substitution for empty or null values.

Last updated: June 25, 2025 | Edit this page | Discuss this page

Maps the value from a source field to a target field directly, with optional default value substitution for empty or null values.

top

Options

Parameter Type Description Default Value
ApplyTo List A list of Work Item Types that this Field Map will apply to. If the list is empty it will apply to all Work Item Types. You can use “*” to apply to all Work Item Types. missing XML code comments
defaultValue String Gets or sets the default value to use when the source field is empty or null. missing XML code comments
sourceField String Gets or sets the name of the source field to copy data from during migration. missing XML code comments
targetField String Gets or sets the name of the target field to copy data to during migration. missing XML code comments
top

Samples

top

Sample

Sample

{
  "MigrationTools": {
    "Version": "16.0",
    "CommonTools": {
      "FieldMappingTool": {
        "FieldMaps": [
          {
            "FieldMapType": "FieldToFieldMap",
            "ApplyTo": [
              "SomeWorkItemType"
            ],
            "defaultValue": "42",
            "sourceField": "Microsoft.VSTS.Common.BacklogPriority",
            "targetField": "Microsoft.VSTS.Common.StackRank"
          }
        ]
      }
    }
  }
}
top

Defaults

Defaults

{
  "MigrationTools": {
    "Version": "16.0",
    "CommonTools": {
      "FieldMappingTool": {
        "FieldMaps": [
          {
            "FieldMapType": "FieldToFieldMap",
            "ApplyTo": [
              "*"
            ]
          }
        ]
      }
    }
  }
}
top

Classic

Classic

{
  "$type": "FieldToFieldMapOptions",
  "sourceField": "Microsoft.VSTS.Common.BacklogPriority",
  "targetField": "Microsoft.VSTS.Common.StackRank",
  "defaultValue": "42",
  "ApplyTo": [
    "*",
    "SomeWorkItemType"
  ]
}
top

Metadata

Project Information
Azure DevOps Marketplace
YouTube Channel
Maintainer

Created and maintained by Martin Hinshelwood of nkdagility.com

Documentation Versions
Production Azure DevOps Migration Tools Release Version
Preview Azure DevOps Migration Tools Preview Version
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