Class BubbleChartResource
java.lang.Object
com.atlassian.jira.gadgets.system.AbstractResource
com.atlassian.jira.gadgets.system.SearchQueryBackedResource
com.atlassian.jira.gadgets.system.bubblechart.BubbleChartResource
@Path("/bubblechart")
@Produces("application/json")
public class BubbleChartResource
extends SearchQueryBackedResource
The REST resource for the bubble chart dashboard item.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.atlassian.jira.gadgets.system.SearchQueryBackedResource
authenticationContext, chartUtils, permissionManager, QUERY_STRING, searchService
-
Constructor Summary
ConstructorsConstructorDescriptionBubbleChartResource
(ChartUtils chartUtils, JiraAuthenticationContext jiraAuthenticationContext, SearchService searchService, PermissionManager permissionManager, VelocityRequestContextFactory velocityRequestContextFactory, CommentService commentService) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
generateChart
(String projectOrFilterId, String bubbleType, int recentCommentsDays) Methods inherited from class com.atlassian.jira.gadgets.system.SearchQueryBackedResource
getFilterTitle, getFilterUrl, getSearchRequestAndValidate, validateSize
Methods inherited from class com.atlassian.jira.gadgets.system.AbstractResource
createErrorResponse, createIndexingUnavailableResponse, createValidationResponse
-
Constructor Details
-
BubbleChartResource
@Inject public BubbleChartResource(ChartUtils chartUtils, JiraAuthenticationContext jiraAuthenticationContext, SearchService searchService, PermissionManager permissionManager, VelocityRequestContextFactory velocityRequestContextFactory, CommentService commentService)
-
-
Method Details
-
generateChart
@GET @Path("/generate") @Produces("application/json") public javax.ws.rs.core.Response generateChart(@QueryParam("projectOrFilterId") String projectOrFilterId, @QueryParam("bubbleType") @DefaultValue("participants") String bubbleType, @QueryParam("recentCommentsPeriod") @DefaultValue("1") int recentCommentsDays)
-