SearchResults results = searchService.search(user, query, PagerFilter.getUnlimitedFilter());
I am on Jira 8 . I am using SearchResults Class.
It was easy with Jira 7. There was a method getIssues().
But now on Jira 8 there is only method getPages() oder getResults(). Both return a List with no further information. A raw List , not with a specific dataType .
So I really do not know how to get the issues now.
I just found out SearchResult is also generic.
Maybe this is possible:
SearchResults<Issue> results = searchService.search(user, query, PagerFilter.getUnlimitedFilter());
But does Jira query not always return Issue Object?