public class

SearchRequestBean

extends Object
java.lang.Object
   ↳ com.atlassian.jira.rest.v2.search.SearchRequestBean

Class Overview

JAXB bean for search requests.

Summary

Fields
public static final SearchRequestBean DOC_EXAMPLE Example representation for use in auto-generated docs.
public List<String> expand The list of issue parameters to expand on each issue.
public List<String> fields The list of fields to return for each issue.
public String jql A JQL query string.
public Integer maxResults The maximum number of issues to return (defaults to 50).
public Integer startAt The index of the first issue to return (0-based).
public Boolean validateQuery Whether to validate the JQL query.
Public Constructors
SearchRequestBean()
SearchRequestBean(String jql, Integer startAt, Integer maxResults, List<String> fields)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final SearchRequestBean DOC_EXAMPLE

Example representation for use in auto-generated docs.

public List<String> expand

The list of issue parameters to expand on each issue.

public List<String> fields

The list of fields to return for each issue. If null, all fields are returned.

public String jql

A JQL query string.

public Integer maxResults

The maximum number of issues to return (defaults to 50). The maximum allowable value is dictated by the JIRA property 'jira.search.views.default.max'. If you specify a value that is higher than this number, your search results will be truncated.

public Integer startAt

The index of the first issue to return (0-based).

public Boolean validateQuery

Whether to validate the JQL query.

Public Constructors

public SearchRequestBean ()

public SearchRequestBean (String jql, Integer startAt, Integer maxResults, List<String> fields)