Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JSWCLOUD-6008

clauseValues is empty when accessing the Velocity and Burndown reports on the new boards

XMLWordPrintable

      NOTE: This bug report is for JIRA Software Cloud. Using JIRA Software Server? See the corresponding bug report.

      Steps to reproduce:

      1. create a project "TEST"
      2. create two versions for this project: "ParentVersion" and "ChildVersion"
      3. create an issue and set the fixVersion to "ParentVersion"
      4. create a sub-task on the issue from the previous step and set the fixVersion to "ChildVersion"
      5. create a scrum board for project "TEST"
      6. create a new sprint and add the issue created for testing to this sprintot be null"
      7. edit the filter associated to the board to:
        project= test and fixVersion = "ChildVersion" order by Rank
        
      8. go to the Report mode and select either Burndown or Velocity Report.

      a red pannel with the message:

      Error
      
      clauseValues is empty
      

      And the following stracktrace will be displayed on the logs:

      400000005058ac3628f7bd54 2012-09-18 13:15:24,685 TP-Processor19 ERROR sysadmin 795x32348x1 1ogmzfg 201.22.212.136,207.223.247.39 /rest/greenhopper/1.0/rapid/charts/velocity.json [web.rapid.chart.RapidChartResource] Unable to complete GreenHopper REST method 
      @400000005058ac3628f7c524 java.lang.IllegalArgumentException: clauseValues is empty
      @400000005058ac3628f7c90c 	at com.atlassian.jira.util.dbc.Assertions.not(Assertions.java:156)
      @400000005058ac3628f7c90c 	at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.addStringCondition(DefaultJqlClauseBuilder.java:878)
      @400000005058ac3628fb18b4 	at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.issue(DefaultJqlClauseBuilder.java:551)
      @400000005058ac3628fb1c9c 	at com.atlassian.greenhopper.web.rapid.chart.StatisticHistoryDataServiceImpl.getBaseData(StatisticHistoryDataServiceImpl.java:95)
      @400000005058ac3628fb2084 	at com.atlassian.greenhopper.web.rapid.chart.StatisticHistoryDataServiceImpl.getStatisticHistory(StatisticHistoryDataServiceImpl.java:72)
      @400000005058ac3628fb2854 	at com.atlassian.greenhopper.web.rapid.chart.ScopeChangeBurndownModelFactory.getScopeChangeModelData(ScopeChangeBurndownModelFactory.java:194)
      @400000005058ac3628fb2c3c 	at com.atlassian.greenhopper.web.rapid.chart.ScopeChangeBurndownModelFactory.getScopeChangeSprintReportData(ScopeChangeBurndownModelFactory.java:151)
      @400000005058ac3628fb4f64 	at com.atlassian.greenhopper.web.rapid.chart.VelocityChartModelFactory.getVelocityChartModel(VelocityChartModelFactory.java:97)
      @400000005058ac3628fb534c 	at com.atlassian.greenhopper.web.rapid.chart.RapidChartResource$4.call(RapidChartResource.java:158)
      @400000005058ac3628fb534c 	at com.atlassian.greenhopper.web.rapid.chart.RapidChartResource$4.call(RapidChartResource.java:149)
      @400000005058ac3628fb5b1c 	at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:48)
      @400000005058ac3628fb5f04 	at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:48)
      @400000005058ac3628fb5f04 	at com.atlassian.greenhopper.web.rapid.chart.RapidChartResource.getVelocityChart(RapidChartResource.java:148)
      ...
      @400000005058ac3628fe1e24 	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
      @400000005058ac3628fe25f4 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
      @400000005058ac3628fe25f4 	at java.lang.Thread.run(Thread.java:662)
      @400000005058ac3629121b54 2012-09-18 13:15:24,688 TP-Processor19 ERROR sysadmin 795x32348x1 1ogmzfg 201.22.212.136,207.223.247.39 /rest/greenhopper/1.0/rapid/charts/velocity.json [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service
      @400000005058ac3629121f3c java.lang.IllegalArgumentException: clauseValues is empty
      @400000005058ac3629122324 	at com.atlassian.jira.util.dbc.Assertions.not(Assertions.java:156)
      @400000005058ac3629122324 	at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.addStringCondition(DefaultJqlClauseBuilder.java:878)
      @400000005058ac36291232c4 	at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.issue(DefaultJqlClauseBuilder.java:551)
      @400000005058ac36291232c4 	at com.atlassian.greenhopper.web.rapid.chart.StatisticHistoryDataServiceImpl.getBaseData(StatisticHistoryDataServiceImpl.java:95)
      @400000005058ac36291236ac 	at com.atlassian.greenhopper.web.rapid.chart.StatisticHistoryDataServiceImpl.getStatisticHistory(StatisticHistoryDataServiceImpl.java:72)
      @400000005058ac3629123a94 	at com.atlassian.greenhopper.web.rapid.chart.ScopeChangeBurndownModelFactory.getScopeChangeModelData(ScopeChangeBurndownModelFactory.java:194)
      @400000005058ac3629123e7c 	at com.atlassian.greenhopper.web.rapid.chart.ScopeChangeBurndownModelFactory.getScopeChangeSprintReportData(ScopeChangeBurndownModelFactory.java:151)
      @400000005058ac3629124a34 	at com.atlassian.greenhopper.web.rapid.chart.VelocityChartModelFactory.getVelocityChartModel(VelocityChartModelFactory.java:97)
      @400000005058ac3629124a34 	at com.atlassian.greenhopper.web.rapid.chart.RapidChartResource$4.call(RapidChartResource.java:158)
      @400000005058ac3629124e1c 	at com.atlassian.greenhopper.web.rapid.chart.RapidChartResource$4.call(RapidChartResource.java:149)
      @400000005058ac3629125dbc 	at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:48)
      @400000005058ac3629125dbc 	at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:48)
      @400000005058ac36291261a4 	at com.atlassian.greenhopper.web.rapid.chart.RapidChartResource.getVelocityChart(RapidChartResource.java:148)
      ...
      @400000005058ac3629150184 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
      @400000005058ac362915056c 	at java.lang.Thread.run(Thread.java:662)
      ...
      

      Workaround: don't use fixVersion on the filter and move the sub-task to the same fixVersion as the parent issue.

              Unassigned Unassigned
              cgauterio Clarissa Gauterio (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: