Replies: 4 comments
-
|
If I have this in my Config file: Why would I get and error trying to update an Iterations? |
Beta Was this translation helpful? Give feedback.
-
|
Hi,Could it be that you have your Tool in the wrong location in the config. I have area and iterations working in my config -- {
"$schema": "https://devopsmigration.io/schema/configuration.schema.json",
"Serilog": {
"MinimumLevel": "Information"
},
"MigrationTools": {
"Version": "16.3",
"Endpoints": {
"Source": {
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "http://myserver/DefaultCollection/",
"Project": "MyProject",
"Authentication": {
"AuthenticationMode": "Prompt",
"AccessToken": ""
},
"ReflectedWorkItemIdField": "Microsoft.VSTS.Build.IntegrationBuild",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"ProductVersion": "OnPremises"
},
"Target": {
"EndpointType": "TfsTeamProjectEndpoint",
"Collection": "https://dev.azure.com/MyCollection/",
"Project": "MyTarget",
"Authentication": {
"AuthenticationMode": "AccessToken",
"AccessToken": "my token"
},
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"TfsVersion": "AzureDevOps"
}
},
"Iterations": {
**DON'T think these are used**
"Mappings": [
{
"Match": "Something\\[GA 1.0]\\[GA 1.0] MS9",
"Replacement": "MyProject\\[TA 1.0]\\[TA 1.0] YS9"
}
]
},
"Areas": {
"Mappings": [
{
"Match": "Something",
"Replacement": "MyProject"
}
]
},
"Processors": [
{
"ProcessorType": "TfsWorkItemMigrationProcessor",
TODO: Use upoir typical processor here
}
],
"CommonTools": {
"TfsEmbededImagesTool": {
"Enabled": true
},
"TfsNodeStructureTool": {
**TODO: These are the area and filter mappings that matters**
"Areas": {
"Filters": [],
"Mappings": [
{
"Match": "^SomethingElse([\\\\]?.*)$",
"Replacement": "SomethingElse$1"
},
{
"Match": "^Snucke([\\\\]?.*)$",
"Replacement": "Snucke$1"
}
]
},
"Enabled": true,
"Iterations": {
"Filters": [],
"Mappings": [
{
"Match": "^Something([\\\\]?.*)$",
"Replacement": "Something$1"
},
{
"Match": "^Snucke([\\\\]?.*)$",
"Replacement": "Snucke$1"
}
]
},
"ReplicateAllExistingNodes": true,
"ShouldCreateMissingRevisionPaths": true
}
}
}
}Hopefully this helps! I am new to this tool as well... / Johan |
Beta Was this translation helpful? Give feedback.
-
|
Im glad we were about to connect for a coffee, Mark! Hopefully, you are all sorted now. |
Beta Was this translation helpful? Give feedback.
-
|
Postmortem to my problem. First, many thanks to my friend Martin for his help. In the config, less is more. The WorkItemMigrationProcessor got reduced to: In NodeStructureTool, create the correct Area, Iteration mappings to get around issues. The base mapping is as follows and more important, I set the last two flags as: "ShouldCreateMissingRevisionPaths": true, Lastly, to get around all the various Team setting I did not want, I had to add in Common Tools: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have filters set for Area, Iteration and Team. And a WIQL that will select 2 items. But I keep getting
VS402485: The Area/Iteration name is not recognized: SPE Project Collection\Z.ARCHIVE\Fuel System\2023 Sprint 17 - P23
a couple of lines above, I get the filter notification
[14:26:40 WRN] [16.3.1] The node SPE Project Collection\Z.ARCHIVE is being excluded due to your Filters setting on TfsNodeStructureToolOptions.
And the about node is not in the revision history of the 2 very simple items.
I have tried many config refactors, with no success.
What am I doing wrong? Need help
Beta Was this translation helpful? Give feedback.
All reactions