Several issues are printed with this code. But how can I output only the first or only the second issue?
SearchResult searchResult =
restClient.getSearchClient().searchJql(
"project = \"<project>\" AND status = \"open\"" ,
5,
1,
Sets.newHashSet("*all")).
claim();
System.out.println(searchResult.getIssues());