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.
Thanks
Community moderators have prevented the ability to post new answers.
Hi Reuben,
The project was split into submodules after 2.0.0-m2, link to maven was updated recently on https://ecosystem.atlassian.net/wiki/display/JRJC/Download page. Most recent version can be found in https://maven.atlassian.com/content/repositories/atlassian-public/com/atlassian/jira/jira-rest-java-client-parent/2.0.0-m31/, its modules (along with sources) are in:
The issues you observe could be related to permissions perhaps? Are you running client on behalf of the same user?
Kind regards,
Piotr
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.