public Collection<Issue> getIssues(IssueFilter filter, boolean includeSubprojects) {
        filter = (filter != null) ? filter : new IssueFilter();

        return getInstance().get().issues(
                getFilter(filter, includeSubprojects));
    }
public Collection < Issue > getIssues ( IssueFilter filter , boolean includeSubprojects ) { filter = ( filter != null ) ? filter : new IssueFilter ( ) ; return getInstance ( ) . get ( ) . issues ( getFilter ( filter , includeSubprojects ) ) ; }
Get Issues in this Project filtered as specified in the passed in filter.

@param filter             Criteria to filter on. Project will be set automatically.
If null, all Issues in the project are returned.
@param includeSubprojects Specifies whether to include items from sub
project or not. This only adds open sub projects.
@return A read only Collection of Issues.