IssueURL advancedSearch = IssueURLFactory.fetch(username, slug, constraint);
/* the rest is copy&paste from above */
try {
IssueRequest request = new IssueRequest(a, advancedSearch);
for(Issue i : request.getResult().getIssues()) {
System.out.println(i.getTitle());
}
request.close();
} catch(IOException e) {
e.printStackTrace(System.err);
}
}