nkdAgility/azure-devops-migration-tools

Error with TFSUrl

Closed this issue · 0 comments

i try to make a simple migration between organisations without to want to include git repository in the migration
System.UriFormatException: No valid Git repository URL.
à TfsUrlParser.RepositoryDescription..ctor(Uri repoUrl)
à MigrationTools._EngineV1.Configuration.TfsTeamProjectConfig.GetCollectionName() dans D:\a\1\s\src\MigrationTools.Clients.AzureDevops.ObjectModel_EngineV1\Configuration\TfsTeamProjectConfig.cs:ligne 40
à MigrationTools._EngineV1.Clients.TfsWorkItemMigrationClient.FilterExistingWorkItems(List`1 sourceWorkItems, TfsWiqlDefinition wiqlDefinition, TfsWorkItemMigrationClient sourceWorkItemMigrationClient)
à VstsSyncMigrator.Engine.WorkItemMigrationContext.InternalExecute() dans D:\a\1\s\src\VstsSyncMigrator.Core\Execution\MigrationContext\WorkItemMigrationContext.cs:ligne 199
à MigrationTools._EngineV1.Processors.MigrationProcessorBase.Execute() dans D:\a\1\s\src\MigrationTools_EngineV1\Processors\MigrationProcessorBase.cs:ligne 47

`{
"Version": "14.3",
"LogLevel": "Verbose",
"workaroundForQuerySOAPBugEnabled": false,
"Source": {
"$type": "TfsTeamProjectConfig",
"Collection": "https://dev.azure.com/***/",
"Project": "Solucia",
"ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
"AuthenticationMode": "AccessToken",
"AllowCrossProjectLinking": false,
"PersonalAccessToken": "",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
}
},
"Target": {
"$type": "TfsTeamProjectConfig",
"Collection": "https://dev.azure.com/***/",
"Project": "FiveForty",
"ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
"AuthenticationMode": "AccessToken",
"AllowCrossProjectLinking": false,
"PersonalAccessToken": "
",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
}
},
"FieldMaps": [
{
"$type": "RegexFieldMapConfig",
"WorkItemTypeName": "",
"sourceField": "System.AreaPath",
"targetField": "System.AreaPath",
"pattern": "Solucia\\(.
)",
"replacement": "FiveForty\$1",
"valueMapping": { "Solucia" : "FiveForty\$1" }
},
{
"$type": "RegexFieldMapConfig",
"WorkItemTypeName": "",
"sourceField": "System.IterationPath",
"targetField": "System.IterationPath",
"pattern": "Solucia\\(.
)",
"replacement": "FiveForty\$1",
"valueMapping": { "Solucia" : "FiveForty\$1" }
}
],
"WorkItemTypeDefinition": {
"sourceWorkItemTypeName": "targetWorkItemTypeName"
},
"GitRepoMapping": null,
"Processors": [
{
"$type": "FixGitCommitLinksConfig",
"Enabled": false,
"TargetRepository": "FiveForty",
"QueryBit": null,
"OrderBit": null
},
{
"$type": "WorkItemMigrationConfig",
"Enabled": true,
"ReplayRevisions": true,
"PrefixProjectToNodes": false,
"UpdateCreatedDate": false,
"UpdateCreatedBy": false,
"WIQLQueryBit": "AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan') AND [System.id] not in (62755) AND [System.id] in (7279) ",
"WIQLOrderBit": "[System.ChangedDate] desc",
"LinkMigration": true,
"AttachmentMigration": true,
"AttachmentWorkingPath": "C:\Users\DavidBru\Documents\_WORK\540\SOLUCIA\temp\WorkItemAttachmentWorkingFolder\",
"FixHtmlAttachmentLinks": true,
"SkipToFinalRevisedWorkItemType": false,
"WorkItemCreateRetryLimit": 5,
"FilterWorkItemsThatAlreadyExistInTarget": true,
"PauseAfterEachWorkItem": false,
"AttachmentMaxSize": 480000000,
"AttachRevisionHistory": false,
"LinkMigrationSaveEachAsAdded": false,
"GenerateMigrationComment": true,
"WorkItemIDs": null,
"MaxRevisions": 0,
"NodeStructureEnricherEnabled": true,
"UseCommonNodeStructureEnricherConfig": false,
"ShouldCreateMissingRevisionPaths": true,
"NodeBasePaths": [],
"AreaMaps": {},
"IterationMaps": {
},
"MaxGracefulFailures": 0
}

]
}`

Originally posted by @dbru540 in #1799