Add search bar to Jira plugin

Jesús Jorge Muñoz
Contributor
November 30, 2021

Hello everyone,

My team is designing a Jira plugin which requires to search for issues and process them. For that purpose we were thinking to add a search bar identical to the available in Jira's interface, but after looking up the documentation it seems there is no OOTB way to add a search bar to our plugin.

Here is what we found out by the moment:

  • We can use SearchService class available in com.atlassian.jira.bc.issue.search.SearchService as the backend engine to search
  • For autocomplete suggestions in the frontend, we can use the following REST endpoint
GET /rest/api/2/jql/autocompletedata/suggestions

 With the info that we got in our hands, our questions are:

  • Is there a more simple/quick way to do this?
  • Are we missing some useful resource?

This question is related to this one. We didn't reply there because the comments are closed, but our use case is similar.

Thank you very much!

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events