Hello, I am trying to get all issues from a project using Jira Rest Java Client using the following code:
Iterable<Issue> issues = client.getSearchClient().searchJql("project = MYPURRJECT AND status in (Closed, Completed, Resolved) ORDER BY ssignee,resolutiondate").claim().getIssues();
However it only return a list of 50 issues (I have over 8000 in the project). I guess that it returns 50 because this is the size of a page in jira. Do you have any idea how can I specify that I want all of them?
The code that I am using is inspired by this link: https://pastebin.com/WUMZ0vZa