Interface PoolService

All Known Implementing Classes:
PoolServiceImpl

public interface PoolService
Provides calculation of swimlane contents functionality
  • Method Details

    • getCustomSwimlanes

      @Nonnull ServiceOutcome<List<PoolService.SwimlaneIssuesData>> getCustomSwimlanes(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, WorkFilters workFilters, Set<Long> validIssues)
      Gets the contents of each swimlane in rapidView as seen by user
    • getColumnConstraintsData

      @Nonnull ServiceOutcome<PoolService.ColumnConstraintsData> getColumnConstraintsData(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView)
      Calculate the constraints data per column of the specified RapidView, for transport to the pool. Uses the Rapid View's StatisticsFieldConfig to calculate this.

      Note that the totals for each column are specified as Double, since this is how NumberCFType fields store their values in the index.

      Parameters:
      user - the user doing the request
      rapidView - the rapid view
      Returns:
      a mapping of column to statistic total
    • areIssueSubtasksInFinalColumn

      @Nonnull ServiceOutcome<IssueSubtasksResolved> areIssueSubtasksInFinalColumn(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, Long issueId)
      Returns whether all subtasks for a given issue have been resolved AND the parent hasn't been resolved yet.
    • getParentSwimlanesData

      ServiceOutcome<ParentSwimlanesData> getParentSwimlanesData(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, List<RapidIssueEntry> issues, Set<RapidIssueEntry> missingParents)
      Gathers the ParentSwimlanesData for a given rapid view.

      The result contains all parent issue ids as well as issues that are mis-aligned to their subtasks (in terms of their status)