Class ChartDataHelper

java.lang.Object
com.atlassian.greenhopper.web.rapid.chart.ChartDataHelper

@Service public class ChartDataHelper extends Object
Helper class for building CFD and Control charts.
  • Field Details

  • Constructor Details

    • ChartDataHelper

      public ChartDataHelper()
  • Method Details

    • getSwimlaneFilter

      @Nonnull public ServiceOutcome<SwimlaneFilter> getSwimlaneFilter(com.atlassian.jira.user.ApplicationUser user, com.atlassian.query.Query query, List<Swimlane> allSwimlanes, Set<Long> swimlaneIds, I18n2 i18n)
      Compute the filter for the selected swimlanes. This is a positive filter, it'll include issue keys that are part of the chart.
    • assembleQuery

      @Nonnull public ServiceOutcome<com.atlassian.query.Query> assembleQuery(com.atlassian.jira.user.ApplicationUser user, RapidView rapidView, Set<Long> quickfilterIds)
      Build up the JQL query that we're going to use for the chart. This can include quickfilters, which are going to be AND added to the base query. It must also include only the statuses which are mapped by the RapidView's columns.