Field migration Issue #2937
EgorAntonovich
started this conversation in
General
Replies: 2 comments
-
We dont check against the field mapping... (@satano 🤷♂️ could be something) To get around it you can effectively use the TFS Validate Required Field Tool! https://devopsmigration.io/docs/reference/tools/tfs-validate-required-field-tool/ |
Beta Was this translation helpful? Give feedback.
0 replies
-
I started discussion to implement this. Now you have to configure "CommonTools": {
"TfsWorkItemTypeValidatorTool": {
"Enabled": true,
"IncludeWorkItemtypes": [
"Epic",
"Feature",
"Product Backlog Item",
"Task",
"Bug"
],
"FixedTargetFields": {
"Bug": [
"System.Reason"
]
}
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
HI, I have an issues when I try to migrate WorkItems.
[12:14:22 INF] [16.2.11] Validating work item type 'Task'
[12:14:22 WRN] [16.2.11] 'Task' does not contain reflected work item ID field 'Custom.ReflectedWorkItemId'.
[12:14:23 WRN] [16.2.11] Source field 'Microsoft.VSTS.CMMI.Blocked' and target field 'Microsoft.VSTS.CMMI.Blocked' have different allowed values.
[12:14:23 INF] [16.2.11] Source allowed values: 'Yes'
[12:14:23 INF] [16.2.11] Target allowed values: 'No', 'Yes'
[12:14:23 INF] [16.2.11] Validating work item type 'Bug'
[12:14:23 WRN] [16.2.11] 'Bug' does not contain reflected work item ID field 'Custom.ReflectedWorkItemId'.
[12:14:23 WRN] [16.2.11] Source field 'System.Reason' and target field 'System.Reason' have different allowed values.
[12:14:23 INF] [16.2.11] Source allowed values: 'Additional work found', 'Applying new states', 'Build Failure', 'Commitment made by the team', 'Duplicate', 'Moved to the backlog', 'New bug', 'New defect reported', 'Not a Bug', 'Reconsidering backlog item', 'Removed from the backlog', 'Work finished'
[12:14:23 INF] [16.2.11] Target allowed values: 'Additional work found', 'Approved by the Product Owner', 'Build Failure', 'Commitment made by the team', 'Duplicate', 'Moved to the backlog', 'New defect reported', '
My mapping looks like this:
"FieldMappingTool": {
"Enabled": true,
"FieldMaps": [
{
"FieldMapType": "FieldValueMap",
"ApplyTo": [
"Task"
],
"defaultValue": "No",
"sourceField": "Microsoft.VSTS.CMMI.Blocked",
"targetField": "Microsoft.VSTS.CMMI.Blocked",
"valueMapping": {
"": "No",
"Yes": "Yes"
}
}
]
Beta Was this translation helpful? Give feedback.
All reactions