Field Value Map

Maps field values based on a lookup table, allowing specific source values to be translated to different target values.

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

Maps field values based on a lookup table, allowing specific source values to be translated to different target values.

top

Options

ParameterTypeDescriptionDefault Value
ApplyToListA 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
defaultValueStringGets or sets the default value to use when no mapping is found for the source field value.missing XML code comments
sourceFieldStringGets or sets the name of the source field to read values from during migration.missing XML code comments
targetFieldStringGets or sets the name of the target field to write mapped values to during migration.missing XML code comments
valueMappingDictionaryGets or sets the dictionary that maps source field values to target field values. Key is the source value, value is the target value.missing XML code comments
top

Samples

top

Sample

Sample

{
  "MigrationTools": {
    "Version": "16.0",
    "CommonTools": {
      "FieldMappingTool": {
        "FieldMaps": [
          {
            "FieldMapType": "FieldValueMap",
            "ApplyTo": [
              "SomeWorkItemType"
            ],
            "defaultValue": "StateB",
            "sourceField": "System.State",
            "targetField": "System.State",
            "valueMapping": {
              "StateA": "StateB"
            }
          }
        ]
      }
    }
  }
}
top

Defaults

Defaults

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

Classic

Classic

{
  "$type": "FieldValueMapOptions",
  "sourceField": "System.State",
  "targetField": "System.State",
  "defaultValue": "StateB",
  "valueMapping": {
    "StateA": "StateB"
  },
  "ApplyTo": [
    "*",
    "SomeWorkItemType"
  ]
}
top

Metadata

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