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: June 25, 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
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
timeTravel Int32 Gets or sets the number of months to travel back in time when looking up historical area path values. Use 0 for current values. missing XML code comments
toSkip Int32 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”. 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

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