Class SprintRankResource
java.lang.Object
com.atlassian.greenhopper.web.AbstractResource
com.atlassian.greenhopper.web.rapid.sprint.SprintRankResource
@Path("sprint/rank")
@Consumes("application/json")
@Produces("application/json")
public class SprintRankResource
extends AbstractResource
-
Field Summary
Fields inherited from class com.atlassian.greenhopper.web.AbstractResource
authenticationContext, log
-
Constructor Summary
ConstructorsConstructorDescriptionSprintRankResource
(RankHelper rankHelper, IssueHelper issueHelper, SprintService sprintService, RankService rankService, SprintIssueService sprintIssueService, RankableFactory rankableFactory, RapidViewService rapidViewService, SprintHelper sprintHelper, SprintEntryFactory sprintEntryFactory, SprintPermissionService sprintPermissionService, RapidIssueEntryQueryService rapidIssueEntryQueryService) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
getRemoveFromSprintData
(Long rapidViewId, List<String> issueKeys) Get a model of the outcome of a remove from sprint operationjakarta.ws.rs.core.Response
removeFromSprint
(RemoveFromSprintRequest request) Removes issues from their currently active/future sprint.jakarta.ws.rs.core.Response
updateSprintAndRank
(SprintRankRequest request) Update issue's rank and with possible sprint change in backlog.Methods inherited from class com.atlassian.greenhopper.web.AbstractResource
check, checkResult, createNoContentResponse, createOkResponse, createOkResponse, getUser, isGadgetRequest, nullSafe, response, responseWithoutAccessCheck
-
Constructor Details
-
SprintRankResource
@Inject public SprintRankResource(RankHelper rankHelper, IssueHelper issueHelper, SprintService sprintService, RankService rankService, SprintIssueService sprintIssueService, RankableFactory rankableFactory, RapidViewService rapidViewService, SprintHelper sprintHelper, SprintEntryFactory sprintEntryFactory, SprintPermissionService sprintPermissionService, RapidIssueEntryQueryService rapidIssueEntryQueryService)
-
-
Method Details
-
updateSprintAndRank
Update issue's rank and with possible sprint change in backlog. This allows to reorder issues across several sprints and backlog.- Parameters:
request
- the required reorder- Returns:
RankResponse
-
getRemoveFromSprintData
@GET @Path("{rapidViewId}/remove") public jakarta.ws.rs.core.Response getRemoveFromSprintData(@PathParam("rapidViewId") Long rapidViewId, @QueryParam("issues") List<String> issueKeys) Get a model of the outcome of a remove from sprint operation -
removeFromSprint
@PUT @Path("{rapidViewId}/remove") public jakarta.ws.rs.core.Response removeFromSprint(RemoveFromSprintRequest request) Removes issues from their currently active/future sprint. Issues get ranked to the top of the first/next future sprint according to the provided rapidViewId
-