Closed TonyMillerMK closed 1 year ago
See the warnings at the start of your run:
These iterations paths aren't being created on the new system, but the tickets you've selected to copy over reference those iterations, so it's blowing up.
Try leaving the base paths empty in your config and it will copy over all of them by default. Afterwards, you can manually clean up any you don't want to keep.
I want to exclude them so that only a single Team's work items are moved over since the others are older large legacy teams. I have successfully excluded them previously with a smaller test project.
Tony Miller, CSM CSPO
From: Alain Bryden @.> Sent: Thursday, November 3, 2022 3:02 PM To: nkdAgility/azure-devops-migration-tools @.> Cc: Miller, Tony - IST Contractor @.>; Author @.> Subject: [External] Re: [nkdAgility/azure-devops-migration-tools] TF237124: Work Item is not ready to save Error while migrating (Issue #1308)
You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
These iterations paths aren't being created on the new system, but the tickets you've selected to copy over reference those iterations, so it's blowing up.
Try leaving the base paths empty in your config and it will copy over all of them by default. Afterwards, you can manually clean up any you don't want to keep.
- Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FnkdAgility%2Fazure-devops-migration-tools%2Fissues%2F1308%23issuecomment-1302603933&data=05%7C01%7CTony.Miller%40mkcorp.com%7C9205b7296b5d40f66f6508dabdd64b40%7C8eb73218837f41d8a48c1c1f942b2b2a%7C0%7C0%7C638031025352120764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=OJJohCftK37Sa3muiI77rIHjfOmUQSuOCuR4Lq%2BXxis%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA2V3GRZMQAIPF2L5TAPNSF3WGQK4FANCNFSM6AAAAAARWOKG4M&data=05%7C01%7CTony.Miller%40mkcorp.com%7C9205b7296b5d40f66f6508dabdd64b40%7C8eb73218837f41d8a48c1c1f942b2b2a%7C0%7C0%7C638031025352120764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=OC9MWLkOva%2FQwySjMZuw0arjmO44N67sZVVLILn1OHA%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>
You reference , "but the tickets you've selected to copy over reference those iterations, so it's blowing up.". How are these referenced if I'm excluding their area path with basePath setting?
Thanks,
Tony Miller, CSM CSPO
From: Alain Bryden @.> Sent: Thursday, November 3, 2022 3:02 PM To: nkdAgility/azure-devops-migration-tools @.> Cc: Miller, Tony - IST Contractor @.>; Author @.> Subject: [External] Re: [nkdAgility/azure-devops-migration-tools] TF237124: Work Item is not ready to save Error while migrating (Issue #1308)
You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
These iterations paths aren't being created on the new system, but the tickets you've selected to copy over reference those iterations, so it's blowing up.
Try leaving the base paths empty in your config and it will copy over all of them by default. Afterwards, you can manually clean up any you don't want to keep.
- Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FnkdAgility%2Fazure-devops-migration-tools%2Fissues%2F1308%23issuecomment-1302603933&data=05%7C01%7CTony.Miller%40mkcorp.com%7C9205b7296b5d40f66f6508dabdd64b40%7C8eb73218837f41d8a48c1c1f942b2b2a%7C0%7C0%7C638031025352120764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=OJJohCftK37Sa3muiI77rIHjfOmUQSuOCuR4Lq%2BXxis%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA2V3GRZMQAIPF2L5TAPNSF3WGQK4FANCNFSM6AAAAAARWOKG4M&data=05%7C01%7CTony.Miller%40mkcorp.com%7C9205b7296b5d40f66f6508dabdd64b40%7C8eb73218837f41d8a48c1c1f942b2b2a%7C0%7C0%7C638031025352120764%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=OC9MWLkOva%2FQwySjMZuw0arjmO44N67sZVVLILn1OHA%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>
Just a shot in the dark, because you haven't posted your config, but based on this log:
I'm guessing your area path isn't getting copied over because it doesn't match the casing of what you configured.
I adjusted the base path and it made progress in not excluding the desired Area, but still getting error. See updated config and log attached.
thanks
Tony Miller, CSM CSPO
From: Alain Bryden @.**@.>> Sent: Friday, November 4, 2022 10:35 AM To: nkdAgility/azure-devops-migration-tools @.**@.>> Cc: Miller, Tony - IST Contractor @.**@.>>; Author @.**@.>> Subject: [External] Re: [nkdAgility/azure-devops-migration-tools] TF237124: Work Item is not ready to save Error while migrating (Issue #1308)
You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
Just a shot in the dark, because you haven't posted your config, but based on this log: [image]https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F2285037%2F200015237-deb4a0ce-49f1-429f-9e71-4762e7514ea3.png&data=05%7C01%7CTony.Miller%40mkcorp.com%7Ce2ce44a2564e4ba0610308dabe7a259d%7C8eb73218837f41d8a48c1c1f942b2b2a%7C0%7C0%7C638031729106480073%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=FAS1WtdrugKPRRVDhh%2FYZ8J5Vq%2Fhuz1G3GEHPTd9nyQ%3D&reserved=0
I'm guessing your area path isn't getting copied over because it doesn't match the casing of what you configured.
- Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FnkdAgility%2Fazure-devops-migration-tools%2Fissues%2F1308%23issuecomment-1303771850&data=05%7C01%7CTony.Miller%40mkcorp.com%7Ce2ce44a2564e4ba0610308dabe7a259d%7C8eb73218837f41d8a48c1c1f942b2b2a%7C0%7C0%7C638031729106636300%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=I3RXkhTjyXfsjLwLmeYS3xyXQgj10sQRygKIZItNyGo%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA2V3GRZCQ3DYKLVQQR5CXWDWGUUKRANCNFSM6AAAAAARWOKG4M&data=05%7C01%7CTony.Miller%40mkcorp.com%7Ce2ce44a2564e4ba0610308dabe7a259d%7C8eb73218837f41d8a48c1c1f942b2b2a%7C0%7C0%7C638031729106636300%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0EF7MeGtOh5X91iTZKWmoEaS2xW%2BLlDYNxtAWtbSB0w%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>
{
"ChangeSetMappingFile": null,
"Source": {
"$type": "TfsTeamProjectConfig",
"Collection": "https://dev.azure.com/xxxx/",
"Project": "InformationSecurity",
"ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
"AllowCrossProjectLinking": false,
"AuthenticationMode": "AccessToken",
"PersonalAccessToken": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"PersonalAccessTokenVariableName": "",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
}
},
"Target": {
"$type": "TfsTeamProjectConfig",
"Collection": "https://dev.azure.com/xxxxxxxxxxxx/",
"Project": "InformationSecurity",
"ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
"AllowCrossProjectLinking": false,
"AuthenticationMode": "AccessToken",
"PersonalAccessToken": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"PersonalAccessTokenVariableName": "",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
}
},
"FieldMaps": [
{
"$type": "MultiValueConditionalMapConfig",
"WorkItemTypeName": "",
"sourceFieldsAndValues": {
"Field1": "Value1",
"Field2": "Value2"
},
"targetFieldsAndValues": {
"Field1": "Value1",
"Field2": "Value2"
}
},
{
"$type": "FieldBlankMapConfig",
"WorkItemTypeName": "",
"targetField": "TfsMigrationTool.ReflectedWorkItemId"
},
{
"$type": "FieldValueMapConfig",
"WorkItemTypeName": "",
"sourceField": "System.State",
"targetField": "System.State",
"defaultValue": "New",
"valueMapping": {
"Approved": "New",
"New": "New",
"Committed": "Active",
"In Progress": "Active",
"To Do": "To Do",
"Done": "Closed",
"Removed": "Removed"
}
},
{
"$type": "FieldtoFieldMapConfig",
"WorkItemTypeName": "",
"sourceField": "Microsoft.VSTS.Common.BacklogPriority",
"targetField": "Microsoft.VSTS.Common.StackRank",
"defaultValue": null
},
{
"$type": "FieldtoFieldMultiMapConfig",
"WorkItemTypeName": "",
"SourceToTargetMappings": {
"SourceField1": "TargetField1",
"SourceField2": "TargetField2"
}
},
{
"$type": "FieldtoTagMapConfig",
"WorkItemTypeName": "",
"sourceField": "System.State",
"formatExpression": "ScrumState:{0}"
},
{
"$type": "FieldMergeMapConfig",
"WorkItemTypeName": "",
"sourceField1": "System.Description",
"sourceField2": "Microsoft.VSTS.Common.AcceptanceCriteria",
"sourceField3": null,
"targetField": "System.Description",
"formatExpression": "{0} Acceptance Criteria
{1}",
"doneMatch": "##DONE##"
},
{
"$type": "RegexFieldMapConfig",
"WorkItemTypeName": "",
"sourceField": "COMPANY.PRODUCT.Release",
"targetField": "COMPANY.DEVISION.MinorReleaseVersion",
"pattern": "PRODUCT \d{4}.(\d{1})",
"replacement": "$1"
},
{
"$type": "FieldValuetoTagMapConfig",
"WorkItemTypeName": "",
"sourceField": "Microsoft.VSTS.CMMI.Blocked",
"pattern": "Yes",
"formatExpression": "{0}"
},
{
"$type": "TreeToTagMapConfig",
"WorkItemTypeName": "",
"toSkip": 3,
"timeTravel": 1
}
],
"GitRepoMapping": null,
"LogLevel": "Debug",
"CommonEnrichersConfig": null,
"Processors": [
{
"$type": "WorkItemMigrationConfig",
"Enabled": true,
"ReplayRevisions": true,
"PrefixProjectToNodes": false,
"UpdateCreatedDate": true,
"UpdateCreatedBy": true,
"WIQLQueryBit": "AND [Microsoft.VSTS.Common.ClosedDate] = '' AND [System.WorkItemType] = 'Epic' AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan','Shared Steps','Shared Parameter','Feedback Request') AND [System.AreaPath] UNDER 'InformationSecurity\Application Security'",
"WIQLOrderBit": "[System.ChangedDate] desc",
"LinkMigration": true,
"AttachmentMigration": true,
"AttachmentWorkingPath": "c:\temp\WorkItemAttachmentWorkingFolder\",
"FixHtmlAttachmentLinks": false,
"SkipToFinalRevisedWorkItemType": true,
"WorkItemCreateRetryLimit": 5,
"FilterWorkItemsThatAlreadyExistInTarget": true,
"PauseAfterEachWorkItem": false,
"AttachmentMaxSize": 480000000,
"AttachRevisionHistory": false,
"LinkMigrationSaveEachAsAdded": false,
"GenerateMigrationComment": true,
"WorkItemIDs": null,
"MaxRevisions": 0,
"NodeStructureEnricherEnabled": null,
"UseCommonNodeStructureEnricherConfig": false,
"NodeBasePaths": ["InformationSecurity\Application Security"],
"AreaMaps": {},
"IterationMaps": {},
"MaxGracefulFailures": 0
}
],
"Version": "12.0",
"workaroundForQuerySOAPBugEnabled": false,
"WorkItemTypeDefinition": {
"sourceWorkItemTypeName": "targetWorkItemTypeName"
},
"Endpoints": {
"InMemoryWorkItemEndpoints": [
{
"Name": "Source",
"EndpointEnrichers": null
},
{
"Name": "Target",
"EndpointEnrichers": null
}
]
}
}
Your updates didn't come through. You may want to log into github.com directly to update your ticket.
Uploaded to ticket for review
Thanks,
Tony Miller, CSM CSPO ScrumMaster | IST - BTS Program Support | Mary Kay Inc.https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.marykay.com%2F&data=05%7C01%7CTony.Miller%40mkcorp.com%7C461488a22c034bbf740608da5300a5de%7C8eb73218837f41d8a48c1c1f942b2b2a%7C0%7C0%7C637913559507240462%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ar72VQeBuEDEn3xchO4eXY2VlrU99PsSYbX3o133%2BQg%3D&reserved=0 16251 Dallas Parkway | Addison, TX 75001 c 214.557.8040| @.**@.>
From: Alain Bryden @.> Sent: Monday, November 7, 2022 12:47 PM To: nkdAgility/azure-devops-migration-tools @.> Cc: Miller, Tony - IST Contractor @.>; Author @.> Subject: [External] Re: [nkdAgility/azure-devops-migration-tools] TF237124: Work Item is not ready to save Error while migrating (Issue #1308)
Your updates didn't come through. You may want to log into github.com directly to update your ticket.
- Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FnkdAgility%2Fazure-devops-migration-tools%2Fissues%2F1308%23issuecomment-1306038214&data=05%7C01%7CTony.Miller%40mkcorp.com%7C648ce7954a194a73397808dac0f073f9%7C8eb73218837f41d8a48c1c1f942b2b2a%7C0%7C0%7C638034436252350374%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=G%2BtwGgoK2ZeKBKZNbl83ilosUp3rjQTnBEHgHh2%2FsO0%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA2V3GR267T4HPYDH57YUUD3WHFFCFANCNFSM6AAAAAARWOKG4M&data=05%7C01%7CTony.Miller%40mkcorp.com%7C648ce7954a194a73397808dac0f073f9%7C8eb73218837f41d8a48c1c1f942b2b2a%7C0%7C0%7C638034436252350374%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VkO53biyA1qG%2BDvz4TwkeUsnQsXyOr7S%2BP8qMUOsagY%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>
This is related to #1306 and may also benefit from creating Area and Iteration from the source work items rather than from the source Area/Iteration node structure.
I tried changing ReplayRevisions to false, but still get error....with this below, what could be an invalid field?
@.***
Thanks,
Tony Miller, CSM CSPO ScrumMaster | IST - BTS Program Support | Mary Kay Inc.https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.marykay.com%2F&data=05%7C01%7CTony.Miller%40mkcorp.com%7C461488a22c034bbf740608da5300a5de%7C8eb73218837f41d8a48c1c1f942b2b2a%7C0%7C0%7C637913559507240462%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ar72VQeBuEDEn3xchO4eXY2VlrU99PsSYbX3o133%2BQg%3D&reserved=0 16251 Dallas Parkway | Addison, TX 75001 c 214.557.8040| @.**@.>
From: Martin Hinshelwood nkdAgility.com @.> Sent: Thursday, November 10, 2022 9:55 AM To: nkdAgility/azure-devops-migration-tools @.> Cc: Miller, Tony - IST Contractor @.>; Author @.> Subject: [External] Re: [nkdAgility/azure-devops-migration-tools] TF237124: Work Item is not ready to save Error while migrating (Issue #1308)
This is related to #1306https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FnkdAgility%2Fazure-devops-migration-tools%2Fissues%2F1306&data=05%7C01%7CTony.Miller%40mkcorp.com%7Ccb53302b723a43c5236e08dac333e255%7C8eb73218837f41d8a48c1c1f942b2b2a%7C0%7C0%7C638036924877362828%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oYskqUc6CZRG4JWeE8KsOj5izXQ8VgxUrQlpHYn3FrI%3D&reserved=0 and may also benefit from creating Area and Iteration from the source work items rather than from the source Area/Iteration node structure.
- Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FnkdAgility%2Fazure-devops-migration-tools%2Fissues%2F1308%23issuecomment-1310506649&data=05%7C01%7CTony.Miller%40mkcorp.com%7Ccb53302b723a43c5236e08dac333e255%7C8eb73218837f41d8a48c1c1f942b2b2a%7C0%7C0%7C638036924877362828%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=I%2FdoG4gfz1eR4siV9ypldoiNrQs4mbBqdcX3yMuVlbk%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA2V3GRY5CN73FDMHH6K5IZ3WHULEHANCNFSM6AAAAAARWOKG4M&data=05%7C01%7CTony.Miller%40mkcorp.com%7Ccb53302b723a43c5236e08dac333e255%7C8eb73218837f41d8a48c1c1f942b2b2a%7C0%7C0%7C638036924877362828%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=mfgjoi7vxs6rPMDZtLBcDSQ5e5QtjEdZT3Nno60EkaY%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days
This is for issues: For questions on usage please use https://stackoverflow.com/questions/tagged/azure-devops-migration-tools and tag with
azure-devops-migration-tools
Describe your issue:
Migrate project work items from one Organization to another.
Describe any Exceptions:
Please try to describe what happened.
Source Details
Target Details
I have completed the following:
"LogLevel": "Debug"
in the configuration file which will output more information to the log.Many issues are due to edge cases and will need debugging in Visual Studio; we cant do that for you on y configuration_clean.txt our environment.