Field Merge Map

Merges values from multiple source fields into a single target field using a specified format template.

Last updated: July 28, 2025 | Edit this page | Discuss this page

Merges values from multiple source fields into a single target field using a specified format template.

top

Options

Parameter
Type
Description
Default Value
Parameter:
ApplyTo
Type:
List
Description:
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.
Default Value:
missing XML code comments
Parameter:
Enabled
Type:
Boolean
Description:
If set to true then the Fieldmap will run. Set to false and the processor will not run.
Default Value:
missing XML code comments
Parameter:
formatExpression
Type:
String
Description:
missing XML code comments
Default Value:
missing XML code comments
Parameter:
sourceFields
Type:
List
Description:
missing XML code comments
Default Value:
missing XML code comments
Parameter:
targetField
Type:
String
Description:
missing XML code comments
Default Value:
missing XML code comments
top

Samples

top

Sample

Sample

{
  "MigrationTools": {
    "Version": "16.0",
    "CommonTools": {
      "FieldMappingTool": {
        "FieldMaps": [
          {
            "FieldMapType": "FieldMergeMap",
            "ApplyTo": [
              "SomeWorkItemType"
            ],
            "formatExpression": "{0} \n {1}",
            "sourceFields": [
              "Custom.FieldA",
              "Custom.FieldB"
            ],
            "targetField": "Custom.FieldC"
          }
        ]
      }
    }
  }
}
top

Defaults

Defaults

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

Classic

Classic

{
  "$type": "FieldMergeMapOptions",
  "sourceFields": [
    "Custom.FieldA",
    "Custom.FieldB"
  ],
  "targetField": "Custom.FieldC",
  "formatExpression": "{0} \n {1}",
  "ApplyTo": [
    "*",
    "SomeWorkItemType"
  ]
}
top

Metadata

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.fieldmaps.fieldmergemap.json",
  "title": "FieldMergeMap",
  "description": "Merges values from multiple source fields into a single target field using a specified format template.",
  "type": "object",
  "properties": {
    "applyTo": {
      "description": "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.",
      "type": "array"
    },
    "enabled": {
      "description": "If set to `true` then the Fieldmap will run. Set to `false` and the processor will not run.",
      "type": "boolean"
    },
    "formatExpression": {
      "description": "missing XML code comments",
      "type": "string"
    },
    "sourceFields": {
      "description": "missing XML code comments",
      "type": "array"
    },
    "targetField": {
      "description": "missing XML code comments",
      "type": "string"
    }
  }
}
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