Class HeatMapResource


@Path("heatmap") @Produces("application/json") public class HeatMapResource extends SearchQueryBackedResource
REST endpoint to validate and retreive a Heat Map. Similar to the pie chart gadget
Since:
v4.0
  • Constructor Details

  • Method Details

    • getHeatMap

      @GET @Path("/generate") public jakarta.ws.rs.core.Response getHeatMap(@QueryParam("projectOrFilterId") String queryString, @QueryParam("statType") @DefaultValue("assignees") 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:
      a HeatMapResource.HeatMap if all params validated else a Collection of ValidationError
    • validateHeatMap

      @GET @Path("validate") public jakarta.ws.rs.core.Response validateHeatMap(@QueryParam("projectOrFilterId") String queryString, @QueryParam("statType") 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:
      a Collection of ValidationError. Or empty list if no errors.