code: public CollectionRequest<Task> findByProject(String projectId) {
      
          String path = String.format("/projects/%s/tasks", projectId);
          return new CollectionRequest<Task>(this, Task.class, path, "GET");
      }
docs: Returns the compact task records for all tasks within the given project,
  ordered by their priority within the project.
  
  @param  projectId The project in which to search for tasks.
  @return Request object