public class ResolutionTimeResource extends SearchQueryBackedResource
authenticationContext, chartUtils, permissionManager, QUERY_STRING, searchService
Constructor and Description |
---|
ResolutionTimeResource(ChartFactory chartFactory,
ChartUtils chartUtils,
JiraAuthenticationContext authenticationContext,
SearchService searchService,
PermissionManager permissionManager,
VelocityRequestContextFactory velocityRequestContextFactory,
ApplicationProperties applicationProperties,
TimeZoneManager timeZoneManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getChart(String queryString,
String days,
String periodName,
boolean returnData,
int width,
int height,
boolean inline)
Generate a bar chart of the time required to resolve issues.
|
javax.ws.rs.core.Response |
validate(String queryString,
String days,
String periodName)
Ensures all parameters are valid for the resolution time graph.
|
getFilterTitle, getFilterUrl, getSearchRequestAndValidate, validateSize
createErrorResponse, createIndexingUnavailableResponse, createValidationResponse
public ResolutionTimeResource(ChartFactory chartFactory, ChartUtils chartUtils, JiraAuthenticationContext authenticationContext, SearchService searchService, PermissionManager permissionManager, VelocityRequestContextFactory velocityRequestContextFactory, ApplicationProperties applicationProperties, TimeZoneManager timeZoneManager)
public javax.ws.rs.core.Response getChart(String queryString, String days, String periodName, boolean returnData, int width, int height, boolean inline)
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
returnData
- if true, the detailed data will be returned.width
- the width of the chart in pixels (defaults to 400px)height
- the height of the chart in pixels (defaults to 300px)public javax.ws.rs.core.Response validate(String queryString, String days, String periodName)
queryString
- a filter id (starts with "filter-") or project id (starts with "project-") or jql (starts with
"jql-")days
- the number of days over which the bar chart is to be drawn.periodName
- the name of a period See - ChartFactory.PeriodName
Copyright © 2002-2024 Atlassian. All Rights Reserved.