I was trying to read all the user stories(including child project user stories) from a parent project using the java toolkit. But its not reading all the user stories
below is my code snippet
QueryRequest existUserStoryRequest = new QueryRequest("HierarchicalRequirement");
existUserStoryRequest.setFetch(new Fetch(new String [] {"FormattedID","Name","Attachments"}));
existUserStoryRequest.setProject(projectOID);
existUserStoryRequest.setScopedDown(true);
existUserStoryRequest.setLimit(3000);
existUserStoryRequest.setScopedUp(true);
QueryResponse userStoryQueryResponse = restApi.query(existUserStoryRequest);