Interface RapidViewSprintQueryService

All Known Implementing Classes:
RapidViewSprintQueryServiceImpl

public interface RapidViewSprintQueryService
Query service to find sprints for a given rapid view.
  • Method Summary

    Modifier and Type
    Method
    Description
    getSprints(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, EnumSet<Sprint.State> states, boolean includingHistoricSprints)
    Get all sprints for a given rapid view.
  • Method Details

    • getSprints

      ServiceOutcome<List<Sprint>> getSprints(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, EnumSet<Sprint.State> states, boolean includingHistoricSprints)
      Get all sprints for a given rapid view. By default all sprints assigned to the rapid view (empty or not) as well as all sprints assigned to at least one issue on the rapid view will be returned. The list of sprints returned will be ordered by state in the following order (closed, active, future) and sprint sequence in ascending order. Use includeHistoricSprints to also include sprints previously assigned to issues
      Parameters:
      includingHistoricSprints - if true historic sprints are returned too, that is, sprints that were once assigned to issues matched by the rapid view query but are not anymore. Note that sprints belonging to the board are never affected and will always be returned regardless of whether they are empty or not