Class ComponentStatisticsManagerImpl

java.lang.Object
com.atlassian.jira.issue.statistics.ComponentStatisticsManagerImpl
All Implemented Interfaces:
ComponentStatisticsManager

public class ComponentStatisticsManagerImpl extends Object implements ComponentStatisticsManager
  • Constructor Details

  • Method Details

    • getProjectsWithComponentsWithIssueCount

      public Map<Project,Map<ProjectComponent,Integer>> getProjectsWithComponentsWithIssueCount(Optional<Query> query)
      This method evaluates the query, and returns all the projects and components that the issues resulting from the given query belong to, along with the issue count for each component. Issues that do not belong to any component are ignored.
      Specified by:
      getProjectsWithComponentsWithIssueCount in interface ComponentStatisticsManager
      Parameters:
      query - the query to filter the count and project results by. Optional, in which case, the empty query (all results) is used.
      Returns:
      Map of Projects to (Map of Project's Components to Count).