monitor.beginTask(Messages.PROGRESS_FETCH_ISSUES, 1);
String uri = String.format(URL_ISSUES_LIST, Arrays.toString(issueIds).replaceAll("[\\[\\] ]", "")); //$NON-NLS-1$ //$NON-NLS-2$
GetMethod method = new GetMethod(uri);
Issues issues = executeMethod(method, issuesParser, monitor);
if(monitor.isCanceled()) {
throw new OperationCanceledException();
} else {
monitor.worked(1);
}
return issues.getAll().toArray(new Issue[issues.getAll().size()]);
}