Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Search Client returns issues only from a few projects.

Alice van Wouw
Contributor
August 23, 2019

Hi there, 

 

I am trying to get issues for a specific project using:

jiraRestClient.getSearchClient().searchJql(jql) 

 

However I am only able to get issues from 3 of the many projects I have. Is this a permissions issue? Or is there something else I am missing?

 

Thank you!

1 answer

1 accepted

2 votes
Answer accepted
DPKJ
Community Champion
August 23, 2019

There can be 3 reasons for this,

  1. JQL statement is not valid for other project
  2. You don't have permission to view issues from those projects (verify if you can browse issues from those project in UI)
  3. You are missing issue in search due to pagination (search api is paginated and return top 1000 issues at max).
Alice van Wouw
Contributor
August 23, 2019

Thank you so much for the prompt response DPK J.  I feel like option 3 is the most likely but I will investigate all of them further!

 

Edit: it was indeed the 3rd suggestion. Thanks again!

Suggest an answer

Log in or Sign up to answer