code: public Collection<PrimaryWorkitem> getOwnedPrimaryWorkitems(PrimaryWorkitemFilter filter) {
          filter = (filter != null) ? filter : new PrimaryWorkitemFilter();
  
          filter.owners.clear();
          filter.owners.add(this);
          return getInstance().get().primaryWorkitems(filter);
      }
docs: Gets Stories and Defects owned by this member.
  
  @param filter Criteria to filter stories and defects on. Pass a
  DefectFilter or StoryFilter to get only Defects or
  Stories, respectively.
  @return selected Workitems.