public class

StatisticsResource

extends Object
java.lang.Object
   ↳ com.atlassian.jira.dashboarditem.statistics.rest.StatisticsResource

Class Overview

Statistic searching REST resource.

Summary

Constants
String FILTER_ID
Public Constructors
StatisticsResource(JiraAuthenticationContext authenticationContext, SearchRequestService searchRequestService, SearchService searchService, StatisticsService statisticsService)
Public Methods
Response oneDimensionalSearch(String jql, Long filterId, String statType)
Complete a one dimensional search on a jql search query or a a filter id.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String FILTER_ID

Constant Value: "filterId"

Public Constructors

public StatisticsResource (JiraAuthenticationContext authenticationContext, SearchRequestService searchRequestService, SearchService searchService, StatisticsService statisticsService)

Public Methods

public Response oneDimensionalSearch (String jql, Long filterId, String statType)

Complete a one dimensional search on a jql search query or a a filter id. The request must provide `jql` or `filterId`. If both are present, `filterId` takes precedence.

Parameters
jql (optional) The jql to use for the query.
filterId (optional) The filterId to use for the query.
statType The statistic type to groups search results by.
Returns
  • HTTP response containing an error or the result of the query