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.
Maps the value from a source field to a target field directly, with optional default value substitution for empty or null values.
Options
topSamples
topSample
Sample
{
"MigrationTools": {
"Version": "16.0",
"CommonTools": {
"FieldMappingTool": {
"FieldMaps": [
{
"FieldMapType": "FieldToFieldMap",
"ApplyTo": [
"SomeWorkItemType"
],
"defaultValue": "42",
"sourceField": "Microsoft.VSTS.Common.BacklogPriority",
"targetField": "Microsoft.VSTS.Common.StackRank"
}
]
}
}
}
}
Defaults
Defaults
{
"MigrationTools": {
"Version": "16.0",
"CommonTools": {
"FieldMappingTool": {
"FieldMaps": [
{
"FieldMapType": "FieldToFieldMap",
"ApplyTo": [
"*"
]
}
]
}
}
}
}
Classic
Classic
{
"$type": "FieldToFieldMapOptions",
"sourceField": "Microsoft.VSTS.Common.BacklogPriority",
"targetField": "Microsoft.VSTS.Common.StackRank",
"defaultValue": "42",
"ApplyTo": [
"*",
"SomeWorkItemType"
]
}
Metadata
topSchema
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.fieldtofieldmap.json",
"title": "FieldToFieldMap",
"description": "Maps the value from a source field to a target field directly, with optional default value substitution for empty or null values.",
"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"
},
"defaultValue": {
"description": "Gets or sets the default value to use when the source field is empty or null.",
"type": "string"
},
"enabled": {
"description": "If set to `true` then the Fieldmap will run. Set to `false` and the processor will not run.",
"type": "boolean"
},
"sourceField": {
"description": "Gets or sets the name of the source field to copy data from during migration.",
"type": "string"
},
"targetField": {
"description": "Gets or sets the name of the target field to copy data to during migration.",
"type": "string"
}
}
}
In this article
Project Information
Azure DevOps Marketplace
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