Class Overview
REST endpoint to validate and retreive a two dimensional stats resource.
Summary
Nested Classes |
class |
TwoDimensionalStatsResource.Cell |
|
class |
TwoDimensionalStatsResource.FilterProperties |
|
class |
TwoDimensionalStatsResource.Row |
|
class |
TwoDimensionalStatsResource.TwoDimensionalProperties |
|
Public Constructors |
|
TwoDimensionalStatsResource(ChartUtils chartUtils, JiraAuthenticationContext authenticationContext, SearchService searchService, PermissionManager permissionManager, StatisticTypesResource statisticTypesResource, SearchProvider searchProvider, VelocityRequestContextFactory velocityRequestContextFactory, IssueIndexManager issueIndexManager, FieldValueToDisplayTransformer<StatsMarkup> fieldValueToDisplayTransformer, FieldManager fieldManager, FieldVisibilityManager fieldVisibilityManager, ApplicationProperties applicationProperties, ReaderCache readerCache)
|
Public Constructors
Public Methods
public
Response
getStats
(String queryString, String xStatType, String yStatType, String sortDirection, String sortBy, boolean showTotals, String numberToShowStr)
Generate a two dimensional statistics view of a filter
Parameters
queryString
| a filter id (starts with "filter-", or just the number) |
xStatType
| The stat to group by on the x axis |
yStatType
| The stat to group by on the y axis |
sortDirection
| Ascending or descending sort |
sortBy
| The field with which to order the stats |
showTotals
| Include additional rows / columns that include the total number of issue for x / y axis
and totals |
numberToShowStr
| Maximum number of results to display on the y-axis. 0 represents unlimited. |
Protected Methods
protected
StatsSearchUrlBuilder
getStatsSearchUrlBuilder
()