You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to query a defect from Rally, I received this error (in the title).
I managed to do testing and determine the issue.
This is the code: rally.get('Defect', fetch=True, query='Name="value"')
The Behavior as I saw it is this:
Pyral cannot handle queries that have the equal sign next to the name of the field. There has to be a space in between the field name and the equal sign.
Example:
query='Name = "value"' - does not throw the error because there are spaces between Name, the equal sign, and "value"
query='Name="value"' - throws the error because there are no spaces
Please fix or place better responses as this will impact any new users.
The text was updated successfully, but these errors were encountered:
Given that the error response is from the Rally WSAPI which will accept query criteria that is supplied (in quasi BNF form..) as [attribute_specifier] [whitespace] [relation_operator] [whitespace] [condition_expression], I'm inclined to classify this as 'not a defect' and also not an enhancement. The upside is that using the supported existing syntax also makes your code more readable :-)
When trying to query a defect from Rally, I received this error (in the title).
I managed to do testing and determine the issue.
This is the code: rally.get('Defect', fetch=True, query='Name="value"')
The Behavior as I saw it is this:
Pyral cannot handle queries that have the equal sign next to the name of the field. There has to be a space in between the field name and the equal sign.
Example:
query='Name = "value"' - does not throw the error because there are spaces between Name, the equal sign, and "value"
query='Name="value"' - throws the error because there are no spaces
Please fix or place better responses as this will impact any new users.
The text was updated successfully, but these errors were encountered: