static void test2() {
SearchConstraint constraint = new SearchConstraint();
constraint.addConstraint(Parameter.MILESTONE, Operator.BEGINS_WITH, "production");
constraint.addConstraint(Parameter.TITLE, Operator.CONTAINS, "button");
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()) {