Klasse SearchForIssuesUsingJqlOperationSpec.SearchForIssuesUsingJqlOperationSpecBuilder
java.lang.Object
io.github.primelib.jira4j.restv3.spec.SearchForIssuesUsingJqlOperationSpec.SearchForIssuesUsingJqlOperationSpecBuilder
- Umschließende Klasse:
SearchForIssuesUsingJqlOperationSpec
public static class SearchForIssuesUsingJqlOperationSpec.SearchForIssuesUsingJqlOperationSpecBuilder
extends Object
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuild()Use [expand](#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(@Nullable Boolean fieldsByKeys) Reference fields by their key (rather than ID).The [JQL](https://confluence.atlassian.com/x/egORLQ) that defines the search.maxResults(@Nullable Integer maxResults) The maximum number of items to return per page.properties(@Nullable List<String> properties) A list of issue property keys for issue properties to include in the results.The index of the first item to return in a page of results (page offset).toString()validateQuery(@Nullable String validateQuery) Determines how to validate the JQL query and treat the validation results.
-
Methodendetails
-
jql
public SearchForIssuesUsingJqlOperationSpec.SearchForIssuesUsingJqlOperationSpecBuilder jql(@Nullable @Nullable String jql) The [JQL](https://confluence.atlassian.com/x/egORLQ) that defines the search. Note: * If no JQL expression is provided, all issues are returned. *usernameanduserkeycannot be used as search terms due to privacy reasons. UseaccountIdinstead. * If a user has hidden their email address in their user profile, partial matches of the email address will not find the user. An exact match is required.- Gibt zurück:
this.
-
startAt
public SearchForIssuesUsingJqlOperationSpec.SearchForIssuesUsingJqlOperationSpecBuilder startAt(@Nullable @Nullable Integer startAt) The index of the first item to return in a page of results (page offset).- Gibt zurück:
this.
-
maxResults
public SearchForIssuesUsingJqlOperationSpec.SearchForIssuesUsingJqlOperationSpecBuilder maxResults(@Nullable @Nullable Integer maxResults) The maximum number of items to return per page. To manage page size, Jira may return fewer items per page where a large number of fields are requested. The greatest number of items returned per page is achieved when requestingidorkeyonly.- Gibt zurück:
this.
-
validateQuery
public SearchForIssuesUsingJqlOperationSpec.SearchForIssuesUsingJqlOperationSpecBuilder validateQuery(@Nullable @Nullable String validateQuery) Determines how to validate the JQL query and treat the validation results. Supported values are: *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. Note: If the JQL is not correctly formed a 400 response code is returned, regardless of thevalidateQueryvalue.- Gibt zurück:
this.
-
fields
public SearchForIssuesUsingJqlOperationSpec.SearchForIssuesUsingJqlOperationSpecBuilder fields(@Nullable @Nullable List<String> 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. Examples: *summary,commentReturns only the summary and comments fields. *-descriptionReturns all navigable (default) fields except description. **all,-commentReturns all fields except comments. This parameter may be specified multiple times. For example,fields=field1,field2&fields=field3. Note: All navigable fields are returned by default. This differs from [GET issue](#api-rest-api-3-issue-issueIdOrKey-get) where the default is all fields.- Gibt zurück:
this.
-
expand
public SearchForIssuesUsingJqlOperationSpec.SearchForIssuesUsingJqlOperationSpecBuilder expand(@Nullable @Nullable String expand) Use [expand](#expansion) to include additional information about issues in the response. This parameter accepts a comma-separated list. Expand options include: *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.
-
properties
public SearchForIssuesUsingJqlOperationSpec.SearchForIssuesUsingJqlOperationSpecBuilder properties(@Nullable @Nullable List<String> properties) A list of issue property keys for issue properties to include in the results. This parameter accepts a comma-separated list. Multiple properties can also be provided using an ampersand separated list. For example,properties=prop1,prop2&properties=prop3. A maximum of 5 issue property keys can be specified.- Gibt zurück:
this.
-
fieldsByKeys
public SearchForIssuesUsingJqlOperationSpec.SearchForIssuesUsingJqlOperationSpecBuilder fieldsByKeys(@Nullable @Nullable Boolean fieldsByKeys) Reference fields by their key (rather than ID).- Gibt zurück:
this.
-
build
-
toString
-