Azure DevOps Migration Tools

v15.0.4

Azure DevOps Migration Tools

Overview
 › 
 › 
 › 
 › 
 › 

RegexFieldMapConfig

Ref

  

Less than 1 minute to read

  

2024-04-05 11:36:18 -0500

I just need that bit of a field… need to send “2016.2” to two fields, one for year and one for release? Done.

Options

Parameter name Type Description Default Value
pattern String missng XML code comments missng XML code comments
replacement String missng XML code comments missng XML code comments
sourceField String missng XML code comments missng XML code comments
targetField String missng XML code comments missng XML code comments
WorkItemTypeName String missng XML code comments missng XML code comments

Example

A basic sample for RegexFieldMapConfig configuration.

1
2
3
4
5
6
7
8
{
  "$type": "RegexFieldMapConfig",
  "WorkItemTypeName": "*",
  "sourceField": "Custom.MyVersion",
  "targetField": "Custom.MyVersionYearOnly",
  "pattern": "([0-9]{4})",
  "replacement": "$1"
}