Optimistic way to search Jira using JQL query

Hi Everyone,

Hope everyone doing good. We are working on developing custom dashboards out of jira and wants to fetch data based on JQL strings. we tried with jira rest api search call but it is taking huge time to process async search calls. In other words, we are making search api call asynchronously and for each request jira is taking time to process. Even the jira was sluggish when we are making more search API calls.

We would like to know your suggestions. We are trying other below option.
Instead of making jira search api call, we will develop a custom rest plugin in jira and we would use the api (com.atlassian.jira.bc.issue.search.SearchService) to fetch the issues data. As per api documentatin, the SearchService class executes search operation based on Index data instead of db calls. We are assuming this api will solve our problem.

Once we develop and deploy the custom rest plugin, we will consume this api instead of Jira rest search api.

Please let us know if you have any other observations.

Regards
Muzeeb

1 Like