[Bug]: ProcessDefinitionProcessorOptions [16.0.3] Failed to synchronize processes. System.Exception: Failed on call to get list of [WorkItemField]. #2376
MicE44
announced in
Exceptions
Replies: 2 comments 2 replies
-
|
Hey @akanieski any ideas? @MicE44 this processor was built by @akanieski about 3 years ago... I don think its had any love since then. If you are moving the whole process then i'd maybe look at https://github.com/microaoft/process-migrator! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Your |
Beta Was this translation helpful? Give feedback.
2 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.
Uh oh!
There was an error while loading. Please reload this page.
-
A bug happened!
The TfsWorkItemMigrationProcessor is working as expected.
But I tested the new "ProcessDefinitionProcessorOptions" and got this error.
Link:
https://nkdagility.com/learn/azure-devops-migration-tools/Reference/Processors/ProcessDefinitionProcessor/
Your example here is wrong too.
Pls check this. THX
Relevant log output
[13:16:51 ERR] [16.0.3] Failed to synchronize processes.
System.Exception: Failed on call to get list of [WorkItemField].
Url: GET https://spsprodweu4.vssps.visualstudio.com/_signin?realm=dev.azure.com&reply_to=https%3A%2F%2Fdev.azure.com%2FSHS-IT-QuantumLeap%2F_apis%2Fwit%2Ffields&redirect=1&hid=4bf5019a-0271-4698-bc8d-d75155ebe401&context=eyJodCI6MiwiaGlkIjoiNWFlYWEwNGUtNjgzZi00ODY2LTllMjQtZjIzMjhlY2VmYWI5IiwicXMiOnt9LCJyciI6IiIsInZoIjoiIiwiY3YiOiIiLCJjcyI6IiJ90#ctx=eyJTaWduSW5Db29raWVEb21haW5zIjpbImh0dHBzOi8vbG9naW4ubWljcm9zb2Z0b25saW5lLmNvbSIsImh0dHBzOi8vbG9naW4ubWljcm9zb2Z0b25saW5lLmNvbSJdfQ2
Response Code:NonAuthoritativeInformation
{ "Serilog": { "MinimumLevel": "Debug" }, "MigrationTools": { "Version": "16.0", "Endpoints": { "Source2": { "EndpointType": "AzureDevOpsEndpoint", "Organisation": "https://dev.azure.com/SHS-IT-QuantumLeap/", "Project": "QuantumLeap", "AllowCrossProjectLinking": false, "ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId", "Authentication": { "AuthenticationMode": "AccessToken", "AccessToken": "XXX", "NetworkCredentials": { "UserName": "", "Password": "", "Domain": "" } }, "LanguageMaps": { "AreaPath": "Area", "IterationPath": "Iteration" } }, "Target2": { "EndpointType": "AzureDevOpsEndpoint", "Organisation": "https://dev.azure.com/SHS-IT-QuantumLeap/", "Project": "Migration_Test", "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": { "Bug": "Bug", "Epic": "Global Epic", "Feature": "Feature", "Customer Demand": "Feature", "Defect": "Defect", "Task": "Task", "Requirement": "Requirement", "Chapter": "Chapter", "Issue": "Issue", "User Story": "User Story" } }, "StringManipulatorTool": { "Enabled": true, "MaxStringLength": 1000000, "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": true, "File": "C:\\temp\\ChangeSetMappingFile.json" }, "FieldMappingTool": { "Enabled": true, "FieldMaps": [ /*{ "FieldMapType": "FieldtoFieldMap", "ApplyTo": [ "SomeWorkItemType" ], "sourceField": "System.AcceptanceCriteria", "targetField": "System.AcceptanceCriteria2" }, { "FieldMapType": "FieldtoFieldMap", "ApplyTo": [ "SomeWorkItemType" ], "sourceField": "System.Description", "targetField": "System.Description2" },*/ /*{ "FieldMapType": "FieldtoFieldMap", "ApplyTo": [ "Defect" ], "sourceField": "Siemens.Defect.SubmitDate", "targetField": "Custom.SubmitDate", "defaultValue": "08.05.2024 13:00" // US schreibweise MM.TT:YYYY! Datum anpassen! },*/ { "FieldMapType": "FieldValueMap", "ApplyTo": ["*"], "defaultValue": "New", "sourceField": "System.State", "targetField": "System.State", "valueMapping": { "New": "New", "Active": "Active", "Closed": "Closed", "Cancelled": "Closed", "Committed": "In Progress", "Resolved": "Resolved", "Removed": "Removed", "Ready": "Ready", "On-hold / deferred": "On-hold / deferred", "Done": "Closed", "Blocked": "Blocked", "Terminated": "Terminated", "Design": "Design", "In Progress": "In Progress" } } ] }, "TfsGitRepositoryTool": { "Enabled": true, "Mappings": { "Source Repo Name": "Target Repo Name" } }, "TfsNodeStructureTool": { "Enabled": true, "Areas": { "Filters": [ " *\\Team 1,*\\Team 1\\**" ], "Mappings": { "^QuantumLeap([\\\\]?.*)$": "Migration_Test", "^1c78a84c-cf99-4d5b-8ba9-e0cb7d6d1f8e([\\\\]?.*)$": "Migration_Test" } }, "Iterations": { "Filters": [], "Mappings": { "^QuantumLeap([\\\\]?.*)$": "Migration_Test", "^1c78a84c-cf99-4d5b-8ba9-e0cb7d6d1f8e([\\\\]?.*)$": "Migration_Test" } }, "ShouldCreateMissingRevisionPaths": true, "ReplicateAllExistingNodes": false }, "TfsRevisionManagerTool": { "Enabled": true, "ReplayRevisions": true, "MaxRevisions": 34 //EPIC Fix "MaxRevisions": 34 }, "TfsTeamSettingsTool": { "Enabled": false, "MigrateTeamSettings": true, "UpdateTeamSettings": true, "MigrateTeamCapacities": true, "Teams": [ "Team 1", "Team 2" ] } }, "Processors": [ { "ProcessorType": "TfsWorkItemMigrationProcessor", "Enabled": false, "UpdateCreatedDate": true, "UpdateCreatedBy": true, "WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.ID] IN ('389') AND [System.WorkItemType] NOT IN ('Test Case','Test Plan','Test Suite') ORDER BY [System.ID] asc", // AND [System.ChangedDate] >= '2023-12-17T00:00:00.00Z' // AND [System.ID] IN ('389','415','416','1032','4519','9574','9575') // 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 'test' // 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, "RemoveInvalidTestSuiteLinks": false, "UseCommonNodeStructureEnricherConfig": false, "SourceName": "Source2", "TargetName": "Target2", "NodeBasePaths": ["123456"], "AreaMaps": {}, "IterationMaps": {} }, { "ProcessorType": "TfsWorkItemDeleteProcessorOptions", "Enabled": false, "WIQLQuery": "SELECT [System.Id] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.WorkItemType] IN ('Test Case','Test Plan','Test Suite') AND [System.AreaPath] UNDER 'MigTest\\Validation' 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, "FilterWorkItemsThatAlreadyExistInTarget": false, "PauseAfterEachWorkItem": false, "SourceName": "Source2", "TargetName": "Target2", "WorkItemCreateRetryLimit": 0 }, { "ProcessorType": "ProcessDefinitionProcessorOptions", "Enabled": true, "Processes": { "QLA_Agile": [ "Bug" ] }, "ProcessMaps": { "QLA_Agile": "QLA_Agile-Test" }, "SourceName": "Source2", "TargetName": "Target2", "UpdateProcessDetails": true } ] } }Beta Was this translation helpful? Give feedback.
All reactions