WorkItemTypeMappingTool
Ref
Less than 1 minute to read
2024-09-10 16:11:58 +0000
draft
This page is in draft and may include errors or omissions. Please check the discussions for any pending updates and changes to the content or to suggest your own changes.
Used to process the String fields of a work item. This is useful for cleaning up data. It will limit fields to a max length and apply regex replacements based on what is configured. Each regex replacement is applied in order and can be enabled or disabled.
Options
Parameter name | Type | Description | Default Value |
Enabled | Boolean | If set to `true` then the tool will run. Set to `false` and the processor will not run. | missng XML code comments |
Mappings | Dictionary | List of work item mappings. | {} |
Examples
defaults
1
2
3
4
5
6
7
8
9
10
11
12
13
{
"MigrationTools": {
"CommonTools": {
"WorkItemTypeMappingTool": {
"Enabled": "False",
"Mappings": {
"Source Work Item Type Name": "Target Work Item Type Name"
}
}
}
}
}
sample
1
2
3
4
5
6
7
8
9
10
11
12
13
{
"MigrationTools": {
"CommonTools": {
"WorkItemTypeMappingTool": {
"Enabled": "True",
"Mappings": {
"User Story": "Product Backlog Item"
}
}
}
}
}
classic
1
2
3
4
5
6
7
8
9
{
"$type": "WorkItemTypeMappingToolOptions",
"Enabled": true,
"Mappings": {
"Source Work Item Type Name": "Target Work Item Type Name",
"User Story": "Product Backlog Item"
}
}