public interface

QueryCreator

com.atlassian.jira.issue.search.util.QueryCreator
Known Indirect Subclasses

Class Overview

Converts quicksearch language search queries into JIRA search URLs.

Summary

Constants
String NULL_QUERY
String QUERY_PREFIX
Public Methods
String createQuery(String searchString)
Create a URL to be redirected to, given a search query.

Constants

public static final String NULL_QUERY

Constant Value: "IssueNavigator.jspa?mode=show"

public static final String QUERY_PREFIX

Constant Value: "IssueNavigator.jspa?reset=true&mode=show"

Public Methods

public String createQuery (String searchString)

Create a URL to be redirected to, given a search query. The URL does not include context path.

It will do some smart searching based on whether there is a project selected.

Parameters
searchString the special "quicksearch language" search string