I am trying to get all issues from the project using JQL query but get only 50, I know that it is a problem, but how I can figure out with it?
Promise<SearchResult> searchJqlPromiseTest = client.getSearchClient().searchJql("project = UARECR ");
for (Issue issue : searchJqlPromiseTest.claim().getIssues()) {
System.out.println(issue.getId());
}
Use this function, which accepts 4 params:
Jira rest API searchRestClient.searchJql
Now you can set the maxResults value. Since you are not setting it, it is defaulting to 50
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.