Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How i can see all search results by using REST API?

name lastname August 18, 2013

Hi, I'm using the REST API for searching in the JIRA project. When I use the iterator to get the results, I see only the first 50. But I need all. How I do this?
Here my sourcecode:

SearchResult sr = restClient.getSearchClient().searchJql("text ~ \"search string\"", pm);
for(Iterator iterator = sr.getIssues().iterator(); iterator.hasNext(); )
{
    i = (BasicIssue)iterator.next();
    System.out.println(i.getKey());
}

Thanks

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 18, 2013
TAGS
AUG Leaders

Atlassian Community Events