Class Overview
REST endpoint to validate and retreive a Recent Created chart.
Summary
Nested Classes |
class |
RecentlyCreatedChartResource.DataRow |
|
class |
RecentlyCreatedChartResource.RecentlyCreatedChart |
A simple bean contain all information required to render the Recently Created Chart
|
Public Methods |
Response
|
generateChart(HttpServletRequest request, String queryString, String days, String periodName, boolean returnData, int width, int height, boolean inline)
Generate a Recently Created Chart and returns a simple bean containing all relevent information
|
Response
|
validateChart(String queryString, String days, String periodName)
Ensures all parameters are valid for the Recently Created Chart
|
Public Constructors
Public Methods
public
Response
generateChart
(HttpServletRequest request, String queryString, String days, String periodName, boolean returnData, int width, int height, boolean inline)
Generate a Recently Created Chart and returns a simple bean containing all relevent information
Parameters
request
| The current HTTPRequest. Needed for url generation |
queryString
| a filter id (starts with "filter-") or project id (starts with "project-")or jql (starts with
"jql-") |
days
| The number of days previous to go back for. Must be positive. |
periodName
| The name of the period. See - ChartFactory.PeriodName |
width
| the width of the chart in pixels (defaults to 400px) |
height
| the height of the chart in pixels (defaults to 250px) |
public
Response
validateChart
(String queryString, String days, String periodName)
Ensures all parameters are valid for the Recently Created Chart
Parameters
queryString
| a filter id (starts with "filter-") or project id (starts with "project-"). |
days
| The number of days previous to go back for. Must be positive. |
periodName
| The name of the period. See - ChartFactory.PeriodName |