public class StatusResource extends Object
Constructor and Description |
---|
StatusResource(JiraAuthenticationContext authContext,
ConstantsService constantsService,
StatusHelper statusHelper,
JiraBaseUrls jiraBaseUrls,
StatusService statusService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getPaginatedStatuses(Long startAt,
Integer maxResults,
String query,
Set<Long> projectIds,
Set<String> issueTypeIds)
Returns paginated list of filtered statuses
|
javax.ws.rs.core.Response |
getStatus(String idOrName,
javax.ws.rs.core.Request request,
javax.ws.rs.core.UriInfo uriInfo)
Returns a full representation of the Status having the given id or name.
|
javax.ws.rs.core.Response |
getStatuses(javax.ws.rs.core.Request request,
javax.ws.rs.core.UriInfo uriInfo)
Returns a list of all statuses
|
public StatusResource(JiraAuthenticationContext authContext, ConstantsService constantsService, StatusHelper statusHelper, JiraBaseUrls jiraBaseUrls, StatusService statusService)
public javax.ws.rs.core.Response getStatuses(@Context javax.ws.rs.core.Request request, @Context javax.ws.rs.core.UriInfo uriInfo)
request
- a RequesturiInfo
- a UriInfopublic javax.ws.rs.core.Response getStatus(String idOrName, @Context javax.ws.rs.core.Request request, @Context javax.ws.rs.core.UriInfo uriInfo)
idOrName
- a numeric Status id or a status namerequest
- a RequesturiInfo
- a UriInfo@ExperimentalApi public javax.ws.rs.core.Response getPaginatedStatuses(Long startAt, Integer maxResults, String query, Set<Long> projectIds, Set<String> issueTypeIds)
startAt
- the index of the first status to returnmaxResults
- the maximum number of statuses to returnquery
- the string that status names will be matched withprojectIds
- the list of project ids to filter statusesissueTypeIds
- the list of issue type ids to filter statusesCopyright © 2002-2024 Atlassian. All Rights Reserved.