FieldValueMapConfig
Ref
Less than 1 minute to read
2024-09-06 09:35:04 +0100
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.
Need to map not just the field but also values? This is the default value mapper.
Options
Parameter name | Type | Description | Default Value |
defaultValue | 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 |
valueMapping | Dictionary | missng XML code comments | missng XML code comments |
WorkItemTypeName | String | missng XML code comments | missng XML code comments |
Example
A basic sample for FieldValueMapConfig configuration.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"$type": "FieldValueMapConfig",
"WorkItemTypeName": "*",
"sourceField": "System.Status",
"targetField": "System.Status",
"defaultValue": "New",
"valueMapping": {
"$type": "Dictionary`2",
"New": "New",
"Active": "Committed",
"Resolved": "Committed",
"Closed": "Done"
}
}