I customized the content of Defect in my Rally workspace adding a new custom field.
This custom field is of type string, its name is CustomTest and its display name is CustomAttribute.
I added the value “test” on a defect, but I can’t create a working query on that custom field (I’m developing in Java and using the ws api for rally).
the query I tried are
String query8 = “(CustomAttribute = \”test\”)”;
String query9 = “(CustomAttribute = \”test\”)”;
In Rally queries, you must reference the actual field name rather than the Display Name. Thus, if you do:
Then I’d expect your query to work. The info in my comment re: using WSAPI docs to assist running/testing queries outside code should still be useful to you.