Field To Tag Field Map #2786
MrHinsh
announced in
Documentation
Replies: 1 comment 1 reply
-
|
Dear community, I am having trouble to get this field to tag mapping right. I hope you can help me. Here is my config file {
"$schema": "https://devopsmigration.io/schema/configuration.schema.json",
"Serilog": {
"MinimumLevel": "Debug"
},
"MigrationTools": {
"Version": "16.3",
"Endpoints": {
"Source": {
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "/",
"Project": "Project1",
"Authentication": {
"AuthenticationMode": "AccessToken",
"NetworkCredentials": {
"Domain": "",
"UserName": "",
"Password": ""
},
"AccessToken": ""
},
"ReflectedWorkItemIdField": "TfsMigrationTool.ReflectedWorkItemId",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"ProductVersion": "OnPremises"
},
"Target": {
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "/",
"Project": "Project2",
"Authentication": {
"AuthenticationMode": "AccessToken",
"NetworkCredentials": {
"Domain": "",
"UserName": "",
"Password": ""
},
"AccessToken": ""
},
"ReflectedWorkItemIdField": "TfsMigrationTool.ReflectedWorkItemId",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"ProductVersion": "OnPremises"
}
},
"Processors": [
{
"ProcessorType": "TfsWorkItemMigrationProcessor",
"Enabled": true,
"WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan','Shared Steps','Shared Parameter','Feedback Request', 'Impediment', 'Objective', 'Milestone', 'Risk', 'Assistance') AND [System.Id] = '646554' ORDER BY [System.ChangedDate] desc",
"FixHtmlAttachmentLinks": true,
"WorkItemCreateRetryLimit": 5,
"FilterWorkItemsThatAlreadyExistInTarget": false,
"GenerateMigrationComment": true,
"SourceName": "Source",
"TargetName": "Target"
}
],
"CommonTools": {`
"FieldMappingTool": {
"Enabled": true,
"FieldMaps": [
{
"FieldMapType": "FieldToTagFieldMap",
"ApplyTo": [
"Product Backlog Item",
"Bug"
],
"sourceFields": [
"myorg.PAM.ReleaseVersion"
],
"formatExpression": "Release version: {0}"
},
{
"FieldMapType": "FieldToTagFieldMap",
"ApplyTo": [
"Product Backlog Item",
"Bug"
],
"sourceFields": [
"myorg.PAM.DataTransformationRequired"
],
"formatExpression": "Data transformation required: {0}"
},
{
"FieldMapType": "FieldToTagFieldMap",
"ApplyTo": [
"Product Backlog Item",
"Bug"
],
"sourceFields": [
"myorg.PAM.DataModelImpact"
],
"formatExpression": "Data model impact: {0}"
},
{
"FieldMapType": "FieldToTagFieldMap",
"ApplyTo": [
"Bug"
],
"sourceFields": [
"myorg.PAM.QAReported"
],
"formatExpression": "QA reported: {0}"
}
]
}
}
}When I run the migration, everything works except the field to tag mapping. in other words, the migration completes but with the following errors: I suppose the error message tells me that the fields that I am trying to map to tags do not exist in the work item definition, but I triple checked and they do. The names are correctly spelled. Am I misinterpreting the error message? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
This discussion is for questions, feedback, and community support related to the Field To Tag Field Map.
Quick Reference
FieldToTagFieldMapHow to Use This Discussion
Related Documentation
Please refer to the official documentation for detailed configuration options and examples.
Beta Was this translation helpful? Give feedback.
All reactions