Package com.atlassian.jira.rest.v2.issue
Class StatusCategoryResource
java.lang.Object
com.atlassian.jira.rest.v2.issue.StatusCategoryResource
@Path("statuscategory")
@Consumes("application/json")
@Produces("application/json")
public class StatusCategoryResource
extends Object
- Since:
- v6.1
-
Constructor Summary
ConstructorsConstructorDescriptionStatusCategoryResource(JiraAuthenticationContext authContext, ConstantsService constantsService, StatusCategoryHelper statusCategoryHelper) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsegetStatusCategories(jakarta.ws.rs.core.Request request, jakarta.ws.rs.core.UriInfo uriInfo) Returns a list of all status categoriesjakarta.ws.rs.core.ResponsegetStatusCategory(String idOrKey, jakarta.ws.rs.core.Request request, jakarta.ws.rs.core.UriInfo uriInfo) Returns a full representation of the StatusCategory having the given id or key
-
Constructor Details
-
StatusCategoryResource
@Inject public StatusCategoryResource(JiraAuthenticationContext authContext, ConstantsService constantsService, StatusCategoryHelper statusCategoryHelper)
-
-
Method Details
-
getStatusCategories
@GET public jakarta.ws.rs.core.Response getStatusCategories(@Context jakarta.ws.rs.core.Request request, @Context jakarta.ws.rs.core.UriInfo uriInfo) Returns a list of all status categories- Parameters:
request- a RequesturiInfo- a UriInfo- Returns:
- a full representation of the StatusCategory
- Since:
- 6.1
-
getStatusCategory
@GET @Path("{idOrKey}") public jakarta.ws.rs.core.Response getStatusCategory(@PathParam("idOrKey") String idOrKey, @Context jakarta.ws.rs.core.Request request, @Context jakarta.ws.rs.core.UriInfo uriInfo) Returns a full representation of the StatusCategory having the given id or key- Parameters:
idOrKey- a numeric StatusCategory id or a status category keyrequest- a RequesturiInfo- a UriInfo- Returns:
- a full representation of the StatusCategory
-