code: public Collection<PrimaryWorkitem> getCompletedPrimaryWorkitems(
              PrimaryWorkitemFilter filter) {
          filter = (filter != null) ? filter : new PrimaryWorkitemFilter();
  
          filter.completedIn.clear();
          filter.completedIn.add(this);
          return getInstance().get().primaryWorkitems(filter);
      }
docs: Stories and Defects completed in this Build Run.
  
  @param filter Filter for PrimaryWorkitems.
  @return completed Stories and Defects completed in this Build Run.