public Double getTotalEstimate(PrimaryWorkitemFilter filter) {
        filter = (filter == null) ? new PrimaryWorkitemFilter() : filter;
        return getSum("Workitems:PrimaryWorkitem", filter, "Estimate");
    }
public Double getTotalEstimate ( PrimaryWorkitemFilter filter ) { filter = ( filter == null ) ? new PrimaryWorkitemFilter ( ) : filter ; return getSum ( "Workitems:PrimaryWorkitem" , filter , "Estimate" ) ; }
@param filter Criteria to filter stories and defects on. Pass a
DefectFilter or StoryFilter to get only Defects or
Stories, respectively.
@return the total estimate for all stories and defects in this iteration
optionally filtered.