问题描述
我正在尝试使用 nkdagility 的 Azure-devops-migration-tool 将团队从 TFS 迁移到 Azure DevOps:https://nkdagility.github.io/azure-devops-migration-tools/
在尝试将特定团队从 TFS 转移到 ADO 时,我收到以下错误:
[15:06:52 INF] TfsWorkItemEndPoint::GetTfsCollection: Access granted to https://tfs.redacted-inc.com/RAD/ for REDACTED (redacted\MtQadir)
[15:06:52 INF] TfsTeamSettingsProcessor::InternalExecute: Found 8 teams in Source?
[15:06:53 INF] TfsWorkItemEndPoint::GetTfsCollection: Access granted to https://redacted.visualstudio.com/ for Muhammad Talha Qadir (MtQadir@redacted-inc.com)
[15:06:53 INF] -> Settings found for team 'JetCenter'..
[15:06:53 FTL] Error while running TfsTeamSettingsProcessor
System.Web.Services.Protocols.soapException: TF400499: You have not set your team field.
at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation,TfsMessage message,Object[]& outputs)
at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation,Object[] parameters,TimeSpan timeout,Object[]& outputs)
at Microsoft.TeamFoundation.ProcessConfiguration.Client.TeamConfigurationService.SetTeamSettings(Guid teamId,TeamSettings teamSettings)
at Microsoft.TeamFoundation.ProcessConfiguration.Client.TeamSettingsConfigurationService.SetTeamSettings(Guid teamId,TeamSettings settings)
at MigrationTools.Processors.TfsTeamSettingsProcessor.MigrateTeamSettings() in D:\a\1\s\src\MigrationTools.Clients.AzureDevops.ObjectModel\Processors\TfsTeamSettingsProcessor.cs:line 147
at MigrationTools.Processors.TfsTeamSettingsProcessor.InternalExecute() in D:\a\1\s\src\MigrationTools.Clients.AzureDevops.ObjectModel\Processors\TfsTeamSettingsProcessor.cs:line 45
at MigrationTools.Processors.Processor.Execute() in D:\a\1\s\src\MigrationTools\Processors\Processor.cs:line 78
这是我的配置文件:
{
"ChangeSetMappingFile": null,"Source": {
"$type": "TfsTeamProjectConfig","Collection": "https://tfs.REDACTED-inc.com/RAD/","Project": "REDACTED","ReflectedWorkItemIDFieldName": "TfsMigrationTool.ReflectedWorkItemId","AllowCrossprojectLinking": false,"AuthenticationMode": "Prompt","PersonalAccesstoken": "","LanguageMaps": {
"AreaPath": "Area","IterationPath": "Iteration"
}
},"Target": {
"$type": "TfsTeamProjectConfig","Collection": "https://REDACTED.visualstudio.com/","Project": "redactedPOC","ReflectedWorkItemIDFieldName": "ReflectedWorkItemId","FieldMaps": [],"GitRepoMapping": null,"LogLevel": "information","Processors": [
{
"$type": "TfsTeamSettingsProcessorOptions","Enabled": true,"MigrateTeamSettings": true,"UpdateTeamSettings": true,"PrefixProjectToNodes": false,"Teams": ["JetCenter"],"ProcessorEnrichers": null,"SourceName": "TeamSettingsSource","TargetName": "TeamSettingsTarget"
},{
"$type": "WorkItemmigrationConfig","Enabled": false,"ReplayRevisions": true,"UpdateCreatedDate": true,"UpdateCreatedBy": true,"BuildFieldTable": false,"AppendMigrationToolSignatureFooter": false,"wiqlQueryBit": "AND [System.AreaPath] UNDER 'Project/Team/' AND [System.WorkItemType] NOT IN ('Test Suite','Test Plan')","wiqlOrderBit": "[System.ChangedDate] desc","LinkMigration": true,"AttachmentMigration": true,"AttachmentWorkingPath": "c:\\temp\\WorkItemAttachmentWorkingFolder\\","FixHtmlAttachmentLinks": false,"SkipToFinalRevisedWorkItemType": true,"WorkItemCreateRetryLimit": 5,"FilterWorkItemsThatAlreadyExistInTarget": true,"PauseAfterEachWorkItem": false,"AttachmentMaxSize": 480000000,"CollapseRevisions": false,"LinkMigrationSaveEachAsAdded": false,"GenerateMigrationComment": true,"NodeBasePaths": [],"WorkItemIDs": null
}
],"Version": "11.9","workaroundForQuerySOAPBugEnabled": false,"WorkItemTypeDeFinition": {
"sourceWorkItemTypeName": "targetWorkItemTypeName"
},"Endpoints": {
"InMemoryWorkItemEndpoints": [
{
"Name": "Source","EndpointEnrichers": null
},{
"Name": "Target","EndpointEnrichers": null
}
],"TfsTeamSettingsEndpoints": [
{
"Name": "TeamSettingsSource","Accesstoken": "","Query": {
"Query": "SELECT [System.Id],[System.Tags] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.WorkItemType] NOT IN ('Test Suite','Test Plan') ORDER BY [System.ChangedDate] desc"
},"Organisation": "https://tfs.REDACTED-inc.com/RAD/","ReflectedWorkItemIdField": "ReflectedWorkItemId","LanguageMaps": {
"AreaPath": "Area","IterationPath": "Iteration"
}
},{
"Name": "TeamSettingsTarget","Organisation": "https://REDACTED.visualstudio.com/","Project": "JetCenterPOC","IterationPath": "Iteration"
}
}
]
}
}
我尝试过的事情:
如果有人可以帮助我,那就太好了!未设置此团队字段的 IDK 来自哪里。