Uploaded image for project: 'Atlassian Cloud'
  1. Atlassian Cloud
  2. CLOUD-1662

Printing of Charts in Greenhopper is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • None
    • None

    Description

      Go into Chart Board and select to print a chart the following stack trace is printed:

      Exception rendering velocity file templates/greenhopper/jira/boards/charts/chart-print.vm
      org.apache.velocity.exception.VelocityException: Could not find template 'templates/greenhopper/jira/boards/charts/chart-print.vm' ensure it is in the classpath.
      at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:86)
      at com.atlassian.jira.plugin.webwork.JiraPluginWebworkVelocityServlet.service(JiraPluginWebworkVelocityServlet.java:46)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      

      This is because we aren't including the template in the greenhopper plugin:

      [amyers@erdinger:greenhopper]$ ls templates/greenhopper/jira/boards/charts/
      burndown.vm           chart-confirmation.vm non-working-days.vm
      chart-board.vm        curves-settings.vm
      

      Looks like its fixed on the test site, but I couldn't find an issue for it, so raising this one.

      Attachments

        Activity

          People

            Unassigned Unassigned
            6e0562960b53 Andrew Myers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: