Klasse SearchProjectsOperationSpec.SearchProjectsOperationSpecBuilder
java.lang.Object
io.github.primelib.jira4j.restv3.spec.SearchProjectsOperationSpec.SearchProjectsOperationSpecBuilder
- Umschließende Klasse:
SearchProjectsOperationSpec
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungFilter results by projects for which the user can: *view
the project, meaning that they have one of the following permissions: * *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project.build()
categoryId
(@Nullable Long categoryId) The ID of the project's category.Use [expand](#expansion) to include additional information in the response.The project IDs to filter the results by.The project keys to filter the results by.maxResults
(@Nullable Integer maxResults) The maximum number of items to return per page.[Order](#ordering) the results by a field.properties
(@Nullable List<Object> properties) EXPERIMENTAL.propertyQuery
(@Nullable String propertyQuery) EXPERIMENTAL.Filter the results using a literal string.The index of the first item to return in a page of results (page offset).EXPERIMENTAL.toString()
Orders results by the [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes).
-
Methodendetails
-
startAt
public SearchProjectsOperationSpec.SearchProjectsOperationSpecBuilder startAt(@Nullable @Nullable Long startAt) The index of the first item to return in a page of results (page offset).- Gibt zurück:
this
.
-
maxResults
public SearchProjectsOperationSpec.SearchProjectsOperationSpecBuilder maxResults(@Nullable @Nullable Integer maxResults) The maximum number of items to return per page.- Gibt zurück:
this
.
-
orderBy
public SearchProjectsOperationSpec.SearchProjectsOperationSpecBuilder orderBy(@Nullable @Nullable String orderBy) [Order](#ordering) the results by a field. *category
Sorts by project category. A complete list of category IDs is found using [Get all project categories](#api-rest-api-3-projectCategory-get). *issueCount
Sorts by the total number of issues in each project. *key
Sorts by project key. *lastIssueUpdatedTime
Sorts by the last issue update time. *name
Sorts by project name. *owner
Sorts by project lead. *archivedDate
EXPERIMENTAL. Sorts by project archived date. *deletedDate
EXPERIMENTAL. Sorts by project deleted date.- Gibt zurück:
this
.
-
id
public SearchProjectsOperationSpec.SearchProjectsOperationSpecBuilder id(@Nullable @Nullable Set<Long> id) The project IDs to filter the results by. To include multiple IDs, provide an ampersand-separated list. For example,id=10000&id=10001
. Up to 50 project IDs can be provided.- Gibt zurück:
this
.
-
keys
public SearchProjectsOperationSpec.SearchProjectsOperationSpecBuilder keys(@Nullable @Nullable Set<String> keys) The project keys to filter the results by. To include multiple keys, provide an ampersand-separated list. For example,keys=PA&keys=PB
. Up to 50 project keys can be provided.- Gibt zurück:
this
.
-
query
public SearchProjectsOperationSpec.SearchProjectsOperationSpecBuilder query(@Nullable @Nullable String query) Filter the results using a literal string. Projects with a matchingkey
orname
are returned (case insensitive).- Gibt zurück:
this
.
-
typeKey
public SearchProjectsOperationSpec.SearchProjectsOperationSpecBuilder typeKey(@Nullable @Nullable String typeKey) Orders results by the [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes). This parameter accepts a comma-separated list. Valid values arebusiness
,service_desk
, andsoftware
.- Gibt zurück:
this
.
-
categoryId
public SearchProjectsOperationSpec.SearchProjectsOperationSpecBuilder categoryId(@Nullable @Nullable Long categoryId) The ID of the project's category. A complete list of category IDs is found using the [Get all project categories](#api-rest-api-3-projectCategory-get) operation.- Gibt zurück:
this
.
-
action
public SearchProjectsOperationSpec.SearchProjectsOperationSpecBuilder action(@Nullable @Nullable String action) Filter results by projects for which the user can: *view
the project, meaning that they have one of the following permissions: * *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. * *Administer projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. * *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). *browse
the project, meaning that they have the *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. *edit
the project, meaning that they have one of the following permissions: * *Administer projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. * *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).- Gibt zurück:
this
.
-
expand
public SearchProjectsOperationSpec.SearchProjectsOperationSpecBuilder expand(@Nullable @Nullable String expand) Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expanded options include: *description
Returns the project description. *projectKeys
Returns all project keys associated with a project. *lead
Returns information about the project lead. *issueTypes
Returns all issue types associated with the project. *url
Returns the URL associated with the project. *insight
EXPERIMENTAL. Returns the insight details of total issue count and last issue update time for the project.- Gibt zurück:
this
.
-
status
public SearchProjectsOperationSpec.SearchProjectsOperationSpecBuilder status(@Nullable @Nullable List<String> status) EXPERIMENTAL. Filter results by project status: *live
Search live projects. *archived
Search archived projects. *deleted
Search deleted projects, those in the recycle bin.- Gibt zurück:
this
.
-
properties
public SearchProjectsOperationSpec.SearchProjectsOperationSpecBuilder properties(@Nullable @Nullable List<Object> properties) EXPERIMENTAL. A list of project properties to return for the project. This parameter accepts a comma-separated list.- Gibt zurück:
this
.
-
propertyQuery
public SearchProjectsOperationSpec.SearchProjectsOperationSpecBuilder propertyQuery(@Nullable @Nullable String propertyQuery) EXPERIMENTAL. A query string used to search properties. The query string cannot be specified using a JSON object. For example, to search for the value ofnested
from{"something":{"nested":1,"other":2}}
use[thepropertykey].something.nested=1
. Note that the propertyQuery key is enclosed in square brackets to enable searching where the propertyQuery key includes dot (.) or equals (=) characters. Note thatthepropertykey
is only returned when included inproperties
.- Gibt zurück:
this
.
-
build
-
toString
-