Klasse SearchRequestBean.SearchRequestBeanBuilder
java.lang.Object
io.github.primelib.jira4j.restv2.model.SearchRequestBean.SearchRequestBeanBuilder
- Umschließende Klasse:
SearchRequestBean
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuild()Use [expand](em>#expansion) to include additional information about issues in the response.A list of fields to return for each issue, use it to retrieve a subset of fields.fieldsByKeys(Boolean fieldsByKeys) Reference fields by their key (rather than ID).A [JQL](https://confluence.atlassian.com/x/egORLQ) expression.maxResults(Integer maxResults) The maximum number of items to return per page.properties(List<String> properties) A list of up to 5 issue properties to include in the results.The index of the first item to return in the page of results (page offset).toString()validateQuery(SearchRequestBean.ValidateQueryEnum validateQuery) Determines how to validate the JQL query and treat the validation results.
-
Methodendetails
-
expand
Use [expand](em>#expansion) to include additional information about issues in the response. Note that, unlike the majority of instances whereexpandis specified,expandis defined as a list of values. The expand options are: *renderedFieldsReturns field values rendered in HTML format. *namesReturns the display name of each field. *schemaReturns the schema describing a field type. *transitionsReturns all possible transitions for the issue. *operationsReturns all possible operations for the issue. *editmetaReturns information about how each field can be edited. *changelogReturns a list of recent updates to an issue, sorted by date, starting from the most recent. *versionedRepresentationsInstead offields, returnsversionedRepresentationsa JSON array containing each version of a field's value, with the highest numbered item representing the most recent version.- Gibt zurück:
this.
-
fields
A list of fields to return for each issue, use it to retrieve a subset of fields. This parameter accepts a comma-separated list. Expand options include: **allReturns all fields. **navigableReturns navigable fields. * Any issue field, prefixed with a minus to exclude. The default is*navigable. Examples: *summary,commentReturns the summary and comments fields only. *-descriptionReturns all navigable (default) fields except description. **all,-commentReturns all fields except comments. Multiplefieldsparameters can be included in a request. Note: All navigable fields are returned by default. This differs from [GET issue](#api-rest-api-2-issue-issueIdOrKey-get) where the default is all fields.- Gibt zurück:
this.
-
fieldsByKeys
Reference fields by their key (rather than ID). The default isfalse.- Gibt zurück:
this.
-
jql
A [JQL](https://confluence.atlassian.com/x/egORLQ) expression.- Gibt zurück:
this.
-
maxResults
The maximum number of items to return per page.- Gibt zurück:
this.
-
properties
A list of up to 5 issue properties to include in the results. This parameter accepts a comma-separated list.- Gibt zurück:
this.
-
startAt
The index of the first item to return in the page of results (page offset). The base index is0.- Gibt zurück:
this.
-
validateQuery
public SearchRequestBean.SearchRequestBeanBuilder validateQuery(SearchRequestBean.ValidateQueryEnum validateQuery) Determines how to validate the JQL query and treat the validation results. Supported values: *strictReturns a 400 response code if any errors are found, along with a list of all errors (and warnings). *warnReturns all errors as warnings. *noneNo validation is performed. *true*Deprecated* A legacy synonym forstrict. *false*Deprecated* A legacy synonym forwarn. The default isstrict. Note: If the JQL is not correctly formed a 400 response code is returned, regardless of thevalidateQueryvalue.- Gibt zurück:
this.
-
build
-
toString
-