The add or subtract operators can only be used with dates or numerical constants. The error is caused by «@currentIteration + 1 #2539
Unanswered
Lakshminarayana316
asked this question in
Q&A
Replies: 1 comment 1 reply
-
That looks like it may be a bug!
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
How to add @currentiteration + 1 or @currentiteration -1 or any itteration with different value .
i want to migrate the shared quires,it contains above iteration starts with @currentiteration + 1 and so on .However when i am doing migration it is getting failed due to below error .
Error :
probably due to invalid area or iteration paths
2024-11-27T15:39:55.0626196Z Microsoft.TeamFoundation.WorkItemTracking.Client.InvalidQueryTextException: TF51015: The add or subtract operators can only be used with dates or numerical constants. The error is caused by «@currentiteration + 1». ---> Microsoft.TeamFoundation.WorkItemTracking.Client.Wiql.SyntaxException: TF51015: The add or subtract operators can only be used with dates or numerical constants. The error is caused by «@currentiteration + 1».
configuration file:
"Processors": [
{
"ProcessorType": "TfsSharedQueryProcessor",
"Enabled": true,
"PrefixProjectToNodes": false,
"SharedFolderName": "Shared Queries",
"SourceToTargetFieldMappings": null,
"SourceName": "Source",
"TargetName": "Target",
}
]
}
Where i can add @currentiteration + 1 itteration path to my configuration file?
Beta Was this translation helpful? Give feedback.
All reactions