unable to apply release wise filter while fetching the task details with owner in rally

70 views Asked by At

In postman I can see results are popping correct:

https://rally1.rallydev.com/slm/webservice/v2.0/task?query=(((Owner.Name = [email protected]) and (Release.Name = PQA)) and (Project = "/project/"))&fetch=FormattedID, Actuals, Estimate, owner

but with java code it is returning the result of all the releases. Seems release filter is not working with the Owner name.

rallyRestApi = new RallyRestApi(URI.create(host), apiKey, apiKey);
QueryRequest query = new QueryRequest("task");
query.setQueryFilter(new QueryFilter("Release.Name", "=", "XYZ"));
query.setQueryFilter(new QueryFilter("Project", "=", "PQR"));
query.setQueryFilter(new QueryFilter("Owner.Name", "=", "[email protected]"));
query.setFetch(new Fetch("FormattedID", "Name", "Actuals", "Owner", "Estimates"));
query.setLimit(Integer.MAX_VALUE);
query.setScopedDown(true);
QueryResponse response = rallyRestApi.query(query); 
0

There are 0 answers