postEntity.put(JQL_ATTRIBUTE, jql);
if (maxResults != null && startAt != null) {
postEntity.put(START_AT_ATTRIBUTE, startAt);
postEntity.put(MAX_RESULTS_ATTRIBUTE, maxResults);
}
uriBuilder = uriBuilder.queryParam(EXPAND_ATTRIBUTE, Joiner.on(',').join(Iterables.transform(DEFAULT_EXPANDS, EXPANDO_TO_PARAM)));
} catch (JSONException e) {
throw new RestClientException(e);
}
return postAndParse(uriBuilder.build(), postEntity, parser, progressMonitor);
} else {