@ExperimentalApi public interface

ComponentStatisticsManager

com.atlassian.jira.issue.statistics.ComponentStatisticsManager
Known Indirect Subclasses

@ExperimentalApi

This interface is considered usable by external developers but its contracts have not stabilized.

Experimental APIs may be changed at any time before being marked @Internal or @PublicApi.

Summary

Public Methods
Map<ProjectMap<ProjectComponentInteger>> 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.

Public Methods

public Map<ProjectMap<ProjectComponentInteger>> 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.

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).