{
"Serilog": {
"MinimumLevel": "Debug"
},
"MigrationTools": {
"Version": "16.1",
"Endpoints": {
"Source2": {
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "https://dev.azure.com/shsds",
"Project": "CS-Cinematic-Anatomy",
"AllowCrossProjectLinking": false,
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId",
"Authentication": {
"AuthenticationMode": "AccessToken",
"AccessToken": "XXX",
"NetworkCredentials": {
"UserName": "",
"Password": "",
"Domain": ""
}
},
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
}
},
"Target2": {
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "https://dev.azure.com/SHS-CS-DDO",
"Project": "CS-Cinematic-Anatomy",
"TfsVersion": "AzureDevOps",
"Authentication": {
"AuthenticationMode": "AccessToken",
"AccessToken": "XXX",
"NetworkCredentials": {
"UserName": "",
"Password": "",
"Domain": ""
}
},
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId",
"AllowCrossProjectLinking": false,
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
}
}
},
"CommonTools": {
"WorkItemTypeMappingTool": {
"Enabled": true,
"Mappings": {
"ABB": "ABB",
"Assumption": "Assumption",
"Bug": "Bug",
"Claim": "Claim",
"Disclaimer": "Disclaimer",
"Epic": "Epic",
"Feature": "Feature",
"Headline": "Headline",
"Issue": "Issue",
"Market Requirement": "Market Requirement",
"OTS": "OTS",
"Product Backlog Item": "Product Backlog Item",
"Risk": "Risk",
"Risk Mitigation": "Risk Mitigation",
"Risk Safety": "Risk Safety",
"Task": "Task",
"Software Requirement": "Software Requirement",
"SOP": "SOP",
"Test Case": "Test Case",
"User Story": "Work Package Item"
}
},
"StringManipulatorTool": {
"Enabled": true,
"MaxStringLength": 1000000,
//Fix SingleString "MaxStringLength": 255,
"Manipulators": [
{
"$type": "RegexStringManipulator",
"Enabled": true,
"Pattern": "[^( -~)\n\r\t]+",
"Replacement": "",
"Description": "Remove invalid characters from the end of the string"
}
]
},
"TfsAttachmentTool": {
"RefName": "TfsAttachmentTool",
"Enabled": true,
"ExportBasePath": "c:\\temp\\WorkItemAttachmentExport",
"MaxRevisions": 480000000
},
"TfsChangeSetMappingTool": {
"Enabled": false,
"File": "C:\\temp\\ChangeSetMappingFile.json"
},
"FieldMappingTool": {
"Enabled": true,
"FieldMaps": [
{
"FieldMapType": "FieldtoFieldMap",
"ApplyTo": ["Defect"],
"sourceField": "Siemens.Defect.Justification",
"targetField": "Microsoft.VSTS.CMMI.Justification"
},
{
"FieldMapType": "FieldValueMap",
"ApplyTo": ["*"],
"defaultValue": "New",
"sourceField": "System.State",
"targetField": "System.State",
"valueMapping":
{
"New": "New",
"In Work": "In Work",
"In Play": "In Play",
"Active": "Active",
"Closed": "Closed",
"Resolved": "Resolved",
"Removed": "Removed",
"For Analysis": "For Analysis",
"Qualified": "Qualified",
"Done": "Done",
"Blocked": "Blocked",
"In Planning": "In Planning",
"Design": "Design",
"Inactive": "Inactive",
"Next Up": "Next Up",
"Ready": "Ready",
"To Do": "To Do",
"Completed": "Completed",
"Proposed": "Proposed",
"In Progress": "In Progress"
}
}
]
},
"TfsGitRepositoryTool": {
"Enabled": true,
"Mappings": {
"https://dev.azure.com/shsds/_git/CS-Cinematic-Anatomy": "https://dev.azure.com/SHS-CS-DDO/_git/CS-Cinematic-Anatomy"
}
},
"TfsNodeStructureTool": {
"Enabled": true,
"Areas": {
"Filters": [ " *\\Team 1,*\\Team 2\\**" ],
"Mappings": {
"CS-Cinematic-Anatomy([\\\\]?.*)$": "CS-Cinematic-Anatomy",
"^1c78a84c-cf99-4d5b-8ba9-e0cb7d6d1f8e([\\\\]?.*)$": "Ultrasound"
}
},
"Iterations": {
"Filters": [],
"Mappings": {
"CS-Cinematic-Anatomy([\\\\]?.*)$": "CS-Cinematic-Anatomy",
"^1c78a84c-cf99-4d5b-8ba9-e0cb7d6d1f8e([\\\\]?.*)$": "Ultrasound"
}
},
"ShouldCreateMissingRevisionPaths": true,
"ReplicateAllExistingNodes": false
},
"TfsRevisionManagerTool": {
"Enabled": true,
"ReplayRevisions": true,
"MaxRevisions": 0
// Req Fix "MaxRevisions": 7
//EPIC/Feature Fix "MaxRevisions": 34
},
"TfsTeamSettingsTool": {
"Enabled": true,
"MigrateTeamSettings": true,
"UpdateTeamSettings": true,
"MigrateTeamCapacities": true,
"Teams": [ "Team 1", "Team 2" ]
}
},
"Processors": [
{
"ProcessorType": "TfsWorkItemMigrationProcessor",
"Enabled": true,
"UpdateCreatedDate": true,
"UpdateCreatedBy": true,
"WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.ID] IN ('140585','166912','167639','167652','167653','167667','190857','201043','201723','201724','201733','213756') AND [System.WorkItemType] NOT IN ('Test Plan','Test Suite') ORDER BY [System.ID] asc",
// AND [System.ID] IN ('389','415','416','1032','4519','9574','9575','10520','10521','10813','61701','67214','67326','67325','67324','40618','40870','40906','40907','40921','40922','40871','40908','40913','40923','40924','40872','40909','40911','40914','40915','40925','40926','40928','40929','40877','40930','40911','40931','40878','40919','40933','40934','40879','40920')
// AND [System.ID] NOT IN ('389','61700')
// AND [System.ChangedDate] >= '2023-12-17T00:00:00.00Z'
// AND [System.ID] NOT IN ('563419','674128')
// AND [Siemens.Defect.Product] = 'VSIM'
// AND [System.ID] >= '440407'
// AND [System.AreaPath] UNDER 'XRay\\Hepton'
// AND [System.Tags] Contains 'migrated'
// AND [System.IterationPath] UNDER 'XRay\\Hepton' OR [System.IterationPath] IN ('XRay\\Hepton\\AT2306','XRay\\Hepton\\AT2309','XRay\\Hepton\\AT2312','XRay\\Hepton\\AT2403','XRay\\Hepton\\AT2406')
// AND [System.WorkItemType] IN ('Epic','Task','User Story','Feature')
// AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan','Shared Steps','Shared Parameter','Feedback Request')
// AND [System.State] NOT IN ('Closed')
// AND [System.ID] IN ('63','64','65','68')
"FixHtmlAttachmentLinks": false,
"WorkItemCreateRetryLimit": 5,
"FilterWorkItemsThatAlreadyExistInTarget": true,
"PauseAfterEachWorkItem": false,
"AttachRevisionHistory": false,
"GenerateMigrationComment": false,
"SourceName": "Source2",
"TargetName": "Target2",
//"WorkItemIDs": [ 12 ],
"WorkItemIDs": null,
"MaxGracefulFailures": 0,
"SkipRevisionWithInvalidIterationPath": false,
"SkipRevisionWithInvalidAreaPath": false
},
{
"ProcessorType": "TfsTestPlansAndSuitesMigrationProcessorOptions",
"Enabled": false,
"ReplayRevisions": true,
"PrefixProjectToNodes": false,
//This Part is for Test Plans and Suites (run 2nd)!!!
//"TestPlanQueryBit": "Select '*' From TestPlan Where [System.ID] >= '58348' AND [System.AreaPath] UNDER 'SENSE\\Magellan Team'",
"TestPlanQueryBit": "AreaPath UNDER 'APEX AMListe (Raw Material Management)'",
// AND [System.ID] NOT IN ('77828')
//'Test Case','Test Plan','Test Suite' AND [System.State] NOT IN ('Closed') AND [System.WorkItemType] IN ('Test Plan','Test Suite') AND [System.AreaPath] UNDER 'SENSE\\Magellan Team',
"WIQLOrderBit": "[System.ID] asc",
"OnlyElementsWithTag": null,
"SourceName": "Source2",
"TargetName": "Target2",
"RemoveInvalidTestSuiteLinks": false,
"UseCommonNodeStructureEnricherConfig": false,
"NodeBasePaths": ["123456"],
"AreaMaps": {},
"IterationMaps": {}
},
{
"ProcessorType": "TfsWorkItemDeleteProcessorOptions",
"Enabled": false,
"WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.WorkItemType] IN ('Defect','Test Case','Test Plan','Test Suite') AND [System.AreaPath] UNDER 'syngo Application Software\\Migration_DefectsXRay' ORDER BY [System.ChangedDate] desc",
// DANGER!, but good for deleting Test Cases!
// AND [System.WorkItemType] IN ('Test Case') AND [System.AreaPath] = 'BranchDa\\BranchDA'
"WorkItemIDs": null,
"SourceName": "Source2",
"TargetName": "Target2",
"FilterWorkItemsThatAlreadyExistInTarget": false,
"PauseAfterEachWorkItem": false,
"WorkItemCreateRetryLimit": 0
}
]
}
}
TfsGitRepositoryTool is ignored.
Nothing happens.
Version
Source Version
Azure DevOps Service
Target Version
Azure DevOps Service
Relevant configuration
{ "Serilog": { "MinimumLevel": "Debug" }, "MigrationTools": { "Version": "16.1", "Endpoints": { "Source2": { "EndpointType": "TfsTeamProjectEndpoint", "Collection": "https://dev.azure.com/shsds", "Project": "CS-Cinematic-Anatomy", "AllowCrossProjectLinking": false, "ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId", "Authentication": { "AuthenticationMode": "AccessToken", "AccessToken": "XXX", "NetworkCredentials": { "UserName": "", "Password": "", "Domain": "" } }, "LanguageMaps": { "AreaPath": "Area", "IterationPath": "Iteration" } }, "Target2": { "EndpointType": "TfsTeamProjectEndpoint", "Collection": "https://dev.azure.com/SHS-CS-DDO", "Project": "CS-Cinematic-Anatomy", "TfsVersion": "AzureDevOps", "Authentication": { "AuthenticationMode": "AccessToken", "AccessToken": "XXX", "NetworkCredentials": { "UserName": "", "Password": "", "Domain": "" } }, "ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId", "AllowCrossProjectLinking": false, "LanguageMaps": { "AreaPath": "Area", "IterationPath": "Iteration" } } }, "CommonTools": { "WorkItemTypeMappingTool": { "Enabled": true, "Mappings": { "ABB": "ABB", "Assumption": "Assumption", "Bug": "Bug", "Claim": "Claim", "Disclaimer": "Disclaimer", "Epic": "Epic", "Feature": "Feature", "Headline": "Headline", "Issue": "Issue", "Market Requirement": "Market Requirement", "OTS": "OTS", "Product Backlog Item": "Product Backlog Item", "Risk": "Risk", "Risk Mitigation": "Risk Mitigation", "Risk Safety": "Risk Safety", "Task": "Task", "Software Requirement": "Software Requirement", "SOP": "SOP", "Test Case": "Test Case", "User Story": "Work Package Item" } }, "StringManipulatorTool": { "Enabled": true, "MaxStringLength": 1000000, //Fix SingleString "MaxStringLength": 255, "Manipulators": [ { "$type": "RegexStringManipulator", "Enabled": true, "Pattern": "[^( -~)\n\r\t]+", "Replacement": "", "Description": "Remove invalid characters from the end of the string" } ] }, "TfsAttachmentTool": { "RefName": "TfsAttachmentTool", "Enabled": true, "ExportBasePath": "c:\\temp\\WorkItemAttachmentExport", "MaxRevisions": 480000000 }, "TfsChangeSetMappingTool": { "Enabled": false, "File": "C:\\temp\\ChangeSetMappingFile.json" }, "FieldMappingTool": { "Enabled": true, "FieldMaps": [ { "FieldMapType": "FieldtoFieldMap", "ApplyTo": ["Defect"], "sourceField": "Siemens.Defect.Justification", "targetField": "Microsoft.VSTS.CMMI.Justification" }, { "FieldMapType": "FieldValueMap", "ApplyTo": ["*"], "defaultValue": "New", "sourceField": "System.State", "targetField": "System.State", "valueMapping": { "New": "New", "In Work": "In Work", "In Play": "In Play", "Active": "Active", "Closed": "Closed", "Resolved": "Resolved", "Removed": "Removed", "For Analysis": "For Analysis", "Qualified": "Qualified", "Done": "Done", "Blocked": "Blocked", "In Planning": "In Planning", "Design": "Design", "Inactive": "Inactive", "Next Up": "Next Up", "Ready": "Ready", "To Do": "To Do", "Completed": "Completed", "Proposed": "Proposed", "In Progress": "In Progress" } } ] }, "TfsGitRepositoryTool": { "Enabled": true, "Mappings": { "https://dev.azure.com/shsds/_git/CS-Cinematic-Anatomy": "https://dev.azure.com/SHS-CS-DDO/_git/CS-Cinematic-Anatomy" } }, "TfsNodeStructureTool": { "Enabled": true, "Areas": { "Filters": [ " *\\Team 1,*\\Team 2\\**" ], "Mappings": { "CS-Cinematic-Anatomy([\\\\]?.*)$": "CS-Cinematic-Anatomy", "^1c78a84c-cf99-4d5b-8ba9-e0cb7d6d1f8e([\\\\]?.*)$": "Ultrasound" } }, "Iterations": { "Filters": [], "Mappings": { "CS-Cinematic-Anatomy([\\\\]?.*)$": "CS-Cinematic-Anatomy", "^1c78a84c-cf99-4d5b-8ba9-e0cb7d6d1f8e([\\\\]?.*)$": "Ultrasound" } }, "ShouldCreateMissingRevisionPaths": true, "ReplicateAllExistingNodes": false }, "TfsRevisionManagerTool": { "Enabled": true, "ReplayRevisions": true, "MaxRevisions": 0 // Req Fix "MaxRevisions": 7 //EPIC/Feature Fix "MaxRevisions": 34 }, "TfsTeamSettingsTool": { "Enabled": true, "MigrateTeamSettings": true, "UpdateTeamSettings": true, "MigrateTeamCapacities": true, "Teams": [ "Team 1", "Team 2" ] } }, "Processors": [ { "ProcessorType": "TfsWorkItemMigrationProcessor", "Enabled": true, "UpdateCreatedDate": true, "UpdateCreatedBy": true, "WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.ID] IN ('140585','166912','167639','167652','167653','167667','190857','201043','201723','201724','201733','213756') AND [System.WorkItemType] NOT IN ('Test Plan','Test Suite') ORDER BY [System.ID] asc", // AND [System.ID] IN ('389','415','416','1032','4519','9574','9575','10520','10521','10813','61701','67214','67326','67325','67324','40618','40870','40906','40907','40921','40922','40871','40908','40913','40923','40924','40872','40909','40911','40914','40915','40925','40926','40928','40929','40877','40930','40911','40931','40878','40919','40933','40934','40879','40920') // AND [System.ID] NOT IN ('389','61700') // AND [System.ChangedDate] >= '2023-12-17T00:00:00.00Z' // AND [System.ID] NOT IN ('563419','674128') // AND [Siemens.Defect.Product] = 'VSIM' // AND [System.ID] >= '440407' // AND [System.AreaPath] UNDER 'XRay\\Hepton' // AND [System.Tags] Contains 'migrated' // AND [System.IterationPath] UNDER 'XRay\\Hepton' OR [System.IterationPath] IN ('XRay\\Hepton\\AT2306','XRay\\Hepton\\AT2309','XRay\\Hepton\\AT2312','XRay\\Hepton\\AT2403','XRay\\Hepton\\AT2406') // AND [System.WorkItemType] IN ('Epic','Task','User Story','Feature') // AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan','Shared Steps','Shared Parameter','Feedback Request') // AND [System.State] NOT IN ('Closed') // AND [System.ID] IN ('63','64','65','68') "FixHtmlAttachmentLinks": false, "WorkItemCreateRetryLimit": 5, "FilterWorkItemsThatAlreadyExistInTarget": true, "PauseAfterEachWorkItem": false, "AttachRevisionHistory": false, "GenerateMigrationComment": false, "SourceName": "Source2", "TargetName": "Target2", //"WorkItemIDs": [ 12 ], "WorkItemIDs": null, "MaxGracefulFailures": 0, "SkipRevisionWithInvalidIterationPath": false, "SkipRevisionWithInvalidAreaPath": false }, { "ProcessorType": "TfsTestPlansAndSuitesMigrationProcessorOptions", "Enabled": false, "ReplayRevisions": true, "PrefixProjectToNodes": false, //This Part is for Test Plans and Suites (run 2nd)!!! //"TestPlanQueryBit": "Select '*' From TestPlan Where [System.ID] >= '58348' AND [System.AreaPath] UNDER 'SENSE\\Magellan Team'", "TestPlanQueryBit": "AreaPath UNDER 'APEX AMListe (Raw Material Management)'", // AND [System.ID] NOT IN ('77828') //'Test Case','Test Plan','Test Suite' AND [System.State] NOT IN ('Closed') AND [System.WorkItemType] IN ('Test Plan','Test Suite') AND [System.AreaPath] UNDER 'SENSE\\Magellan Team', "WIQLOrderBit": "[System.ID] asc", "OnlyElementsWithTag": null, "SourceName": "Source2", "TargetName": "Target2", "RemoveInvalidTestSuiteLinks": false, "UseCommonNodeStructureEnricherConfig": false, "NodeBasePaths": ["123456"], "AreaMaps": {}, "IterationMaps": {} }, { "ProcessorType": "TfsWorkItemDeleteProcessorOptions", "Enabled": false, "WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.WorkItemType] IN ('Defect','Test Case','Test Plan','Test Suite') AND [System.AreaPath] UNDER 'syngo Application Software\\Migration_DefectsXRay' ORDER BY [System.ChangedDate] desc", // DANGER!, but good for deleting Test Cases! // AND [System.WorkItemType] IN ('Test Case') AND [System.AreaPath] = 'BranchDa\\BranchDA' "WorkItemIDs": null, "SourceName": "Source2", "TargetName": "Target2", "FilterWorkItemsThatAlreadyExistInTarget": false, "PauseAfterEachWorkItem": false, "WorkItemCreateRetryLimit": 0 } ] } }Relevant log output
What happened?
TfsGitRepositoryTool is ignored.
Nothing happens.
Debug in Visual Studio