code: public Collection<Effort> getEffortRecords(EffortFilter filter) {
          filter = (filter == null) ? new EffortFilter() : filter;
  
          filter.workitem.clear();
          filter.workitem.add(this);
          return getInstance().get().effortRecords(filter);
      }
docs: Gets Effort Records tracked against this Workitem.
  
  @param filter Criteria to filter on. If null, all tasks and tests in the
  project are returned.
  @return selected Effort records.