It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SearchRestClient.searchJql from Jira Client 2.0.0-m2 does not return all matching issues

Reuben Tanner Sep 15, 2014

I am using JIRA Client 2.0.0-m2 from here with a JIRA server running v6.0.8 and the SearchRestClient.searchJql doesn't return all issues that match the given query.


When I go to our JIRA server and enter this query

"status = Open AND (\"Custom Label\" = Name OR labels = Name)"

into the advanced search, I am returned with 12 issues.

When I run this same, exact, hard-coded query in the SearchRestClient.searchJql(String) and SearchRestClient.searchJql(String, int, int) I am returned with an empty array.


I endeavored to get a new version of the JIRA client with the sources to see if that would fix the problem but the git repo (with 2.0.0-m32) is unpackageable as a dependency and there are no other sources available that are higher than 2.0.0-m2.

If there is no known solution to this problem, I'd really just like to get the 2.0.0-m19 sources with the 2.0.0-m19 client available as a dependency from you guys from here.



1 answer

1 accepted

Reuben Tanner Sep 16, 2014

Thanks for the info and for the point in the right direction. I upgraded to m31 but still did not receive the expected results. It does indeed turn out to have been a permissions issue. The user we were using the search didn't have permission to all the queues. Thanks for your help!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase

Friday Fun: What's your best vacation planning hack?

Let's face it, work can be challenging but fulfilling, especially when you enjoy the challenges thrown at you.  However for me, nothing compares to going on vacation (or holiday as some of you m...

519 views 26 4
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you