title: How can I query for a Test Folder in Rally Rest tookit for Java?
body: <p>Here is the basic code i am attempting to use:</p>
  
  <pre><code>  //create new QueryRequest
    QueryRequest tests = new QueryRequest("Test Case");
  
    //Gets the information from QueryFilter
    tests.setFetch(new Fetch("FormattedID","Name","Owner","Test Folder"));
  
    //checks to see if the test Case's test folder matches the given one
    testFolderFilter =  new QueryFilter("Test Folder", "=", testFolder);
  
    // set query filter
    tests.setQueryFilter(testFolderFilter); 
  
    // Query Rally
    QueryResponse queryResponse = restApi.query(tests);
  </code></pre>
  
  <p>I have sucessfully done it using the <code>Name</code> and <code>FormattedID</code> in place of <code>Test Folder</code> so I assume I just need to use a different string for <code>Test Folder</code>. Any suggestions are welcome.</p>
  
  <p>Examples were of no help to me but they can be found at: <a href="http://www.rallydev.com/developer/java-toolkit-rally-rest-api" rel="nofollow">http://www.rallydev.com/developer/java-toolkit-rally-rest-api</a></p>