public class

ChartUtilsImpl

extends Object
implements ChartUtils
java.lang.Object
   ↳ com.atlassian.jira.charts.util.ChartUtilsImpl

Class Overview

Utility class for charting

Summary

Public Constructors
ChartUtilsImpl(SearchRequestService searchRequestService, JiraAuthenticationContext authenticationContext, ProjectManager projectManager, SearchService searchService, JiraHome jiraHome)
Public Methods
File getChartDirectory()
Get the directory that charts are temporarily stored in.
SearchRequest retrieveOrMakeSearchRequest(String projectOrFilterId, Map<StringObject> params)
Make a search request out of the searchQuery parameter and populate the report/portlet param map
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.charts.util.ChartUtils

Public Constructors

public ChartUtilsImpl (SearchRequestService searchRequestService, JiraAuthenticationContext authenticationContext, ProjectManager projectManager, SearchService searchService, JiraHome jiraHome)

Public Methods

public File getChartDirectory ()

Get the directory that charts are temporarily stored in.

Returns
  • Directory

public SearchRequest retrieveOrMakeSearchRequest (String projectOrFilterId, Map<StringObject> params)

Make a search request out of the searchQuery parameter and populate the report/portlet param map

Parameters
projectOrFilterId a jql string, a project id or a filter id
params the map of parameters to modify
Returns
  • The SearchRequest for the project/filter id