Tree To Tag Field Map

Maps work item area path or iteration path hierarchies to tags, allowing tree structures to be represented as flat tag collections.

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

Maps work item area path or iteration path hierarchies to tags, allowing tree structures to be represented as flat tag collections.

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:
timeTravel
Type:
Int32
Description:
Gets or sets the number of months to travel back in time when looking up historical area path values. Use 0 for current values.
Default Value:
missing XML code comments
Parameter:
toSkip
Type:
Int32
Description:
Gets or sets the number of levels to skip from the root when converting area path hierarchy to tags. For example, if set to 2, “ProjectName\Level1\Level2\Level3” would skip “ProjectName\Level1” and start from “Level2”.
Default Value:
missing XML code comments
top

Samples

top

Sample

Sample

There is no sample, but you can check the classic below for a general feel.
top

Defaults

Defaults

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

Classic

Classic

{
  "$type": "TreeToTagFieldMapOptions",
  "toSkip": 0,
  "timeTravel": 0,
  "ApplyTo": [
    "*"
  ]
}
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.treetotagfieldmap.json",
  "title": "TreeToTagFieldMap",
  "description": "Maps work item area path or iteration path hierarchies to tags, allowing tree structures to be represented as flat tag collections.",
  "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"
    },
    "timeTravel": {
      "description": "Gets or sets the number of months to travel back in time when looking up historical area path values. Use 0 for current values.",
      "type": "integer"
    },
    "toSkip": {
      "description": "Gets or sets the number of levels to skip from the root when converting area path hierarchy to tags. For example, if set to 2, \"ProjectName\\Level1\\Level2\\Level3\" would skip \"ProjectName\\Level1\" and start from \"Level2\".",
      "type": "integer"
    }
  }
}
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