unable to migrate a team board instead it is reading query with all workitems in the project #2126
Unanswered
shiva-gattu
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Your WIQLQuery is invalid.
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to migrate a team board below is the script
{
"ChangeSetMappingFile": null,
"Source": {
"$type": "TfsTeamProjectConfig",
"Collection": "OrgA",
"Project": "Project A",
"ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
"AllowCrossProjectLinking": false,
"AuthenticationMode": "Prompt",
"PersonalAccessToken": "",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
},
"Target": {
"$type": "TfsTeamProjectConfig",
"Collection": "Org B",
"Project": "Project B",
"ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
"AllowCrossProjectLinking": false,
"AuthenticationMode": "Prompt",
"PersonalAccessToken": "",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
},
"FieldMaps": [],
"GitRepoMapping": null,
"LogLevel": "Debug",
"Processors": [
{
"$type": "WorkItemMigrationConfig",
"Enabled": false,
"ReplayRevisions": true,
"PrefixProjectToNodes": false,
"BuildFieldTable": false,
"UpdateCreatedDate": true,
"UpdateCreatedBy": true,
"WIQLQuery": "AND [System.AreaPath] UNDER 'Project A\Area1\Area2' AND [System.WorkItemType] NOT IN ('Shared Steps', 'Shared Parameters')",
"WIQLOrderBit": "[System.ChangedDate] desc",
"LinkMigration": true,
"AttachmentMigration": true,
"AttachmentWorkingPath": "c:\temp\WorkItemAttachmentWorkingFolder\",
"FixHtmlAttachmentLinks": false,
"WorkItemCreateRetryLimit": 5,
"FilterWorkItemsThatAlreadyExistInTarget": false,
"PauseAfterEachWorkItem": false,
"AttachmentMaxSize": 480000000,
"AttachRevisionHistory": false,
"GenerateMigrationComment": true,
"LinkMigrationSaveEachAsAdded": false,
"NodeStructureEnricherEnabled": null,
"WorkItemIDs": null,
"NodeBasePaths": [],
"MaxGracefulFailures": 0,
"SkipRevisionWithInvalidIterationPath": true,
"SkipRevisionWithInvalidAreaPath": true
}
],
"Version": "15.0",
"workaroundForQuerySOAPBugEnabled": false,
"WorkItemTypeDefinition": {
"sourceWorkItemTypeName": "targetWorkItemTypeName"
},
}
but wiql query is reading all the workitems in migration
Beta Was this translation helpful? Give feedback.
All reactions