public class

HeatMapResource

extends SearchQueryBackedResource
java.lang.Object
   ↳ com.atlassian.jira.gadgets.system.AbstractResource
     ↳ com.atlassian.jira.gadgets.system.SearchQueryBackedResource
       ↳ com.atlassian.jira.gadgets.system.HeatMapResource

Class Overview

REST endpoint to validate and retreive a Heat Map. Similar to the pie chart gadget

Summary

Nested Classes
class HeatMapResource.DataRow  
class HeatMapResource.HeatMap A simple bean contain all information required to render the Heat Map  
[Expand]
Inherited Constants
From class com.atlassian.jira.gadgets.system.SearchQueryBackedResource
[Expand]
Inherited Fields
From class com.atlassian.jira.gadgets.system.SearchQueryBackedResource
Public Constructors
HeatMapResource(ChartUtils chartUtils, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, StatisticTypesResource statisticTypesResource, SearchService searchService, VelocityRequestContextFactory velocityRequestContextFactory, CustomFieldManager customFieldManager)
Public Methods
Response getHeatMap(String queryString, String statType)
Generate a heat map and returns a simple bean containing all relievent information
Response validateHeatMap(String queryString, String statType)
Ensures all parameters are valid for the heat map
[Expand]
Inherited Methods
From class com.atlassian.jira.gadgets.system.SearchQueryBackedResource
From class com.atlassian.jira.gadgets.system.AbstractResource
From class java.lang.Object

Public Constructors

public HeatMapResource (ChartUtils chartUtils, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, StatisticTypesResource statisticTypesResource, SearchService searchService, VelocityRequestContextFactory velocityRequestContextFactory, CustomFieldManager customFieldManager)

Public Methods

public Response getHeatMap (String queryString, String statType)

Generate a heat map and returns a simple bean containing all relievent information

Parameters
queryString a filter id (starts with "filter-") or project id (starts with "project-") or jql (starts with "jql-")
statType a valid statistic type. See StatisticTypesResource
Returns

public Response validateHeatMap (String queryString, String statType)

Ensures all parameters are valid for the heat map

Parameters
queryString a filter id (starts with "filter-") or project id (starts with "project-") or jql (starts with "jql-")
statType a valid statistic type. See StatisticTypesResource
Returns