Class DefaultSearchUtil

java.lang.Object
com.atlassian.jira.plugin.issuenav.util.DefaultSearchUtil

@Named public class DefaultSearchUtil extends Object
Calculates the URLs of default searches.
Since:
v5.2
  • Constructor Details

  • Method Details

    • getSearch

      public Search getSearch()
      When a user has no session search we should try to show something useful.
      • If they have open issues, show the "My open issues" filter.
      • If their current project contains issues, show them.
      • Otherwise, show all issues in the system.
      Returns:
      the default search that should be presented.
    • getOpenIssuesQuery

      protected Query getOpenIssuesQuery()
    • getProjectQuery

      protected Query getProjectQuery(Project project)