-
Bug
-
Resolution: Fixed
-
Major
-
None
When I perform a query with the jiraSearch() in the Jenkins pipeline it only finds 50 items. I would have expected that it finds all items on the JIRA server that are matching the query.
The SearchIssuesStep class calling the method getIssuesFromJqlSearch() of the JiraSession class in line 91.
The result of the method is in line 135 and is:
return service.getIssuesFromJqlSearch(jqlSearch, 50);
Other parts of the JiraSession class are using the max integer value, like line 230.
List<Issue> issues = service.getIssuesFromJqlSearch(query, Integer.MAX_VALUE);