[TIME-71] We are getting a server error when trying to generate the Project Pivot Report in JIRA 4.0

Issue #71 resolved
Andriy Zhdanov created an issue

We have downloaded and installed JIRA TimeSheet Report and Portlet.
We are getting a server error when trying to generate the Project Pivot Report in JIRA 4.0.
I have downloaded (plugin version 1.9 for JIRA 4.0) "JIRA TimeSheet Report and Portlet" plugin from the below link:

https://studio.plugins.atlassian.com/svn/TIME/jars/
I changed file extension from .zip to .jar and copied to /WEB-INF/lib directory and restarted JIRA.
I am seeing this exception when clicked on the 'Next' button of Project Pivot Report:

...
java.lang.ClassCastException: com.atlassian.jira.issue.DocumentIssueImpl cannot be cast to org.ofbiz.core.entity.GenericValue
at com.fdu.jira.plugin.report.pivot.Pivot.getTimeSpents(Pivot.java:115)
at com.fdu.jira.plugin.report.pivot.Pivot.generateReport(Pivot.java:201)

By mummadi/Rajendra Mummadi on Thu, 28 Jan 2010 01:58:40 -0800

Comments (3)

  1. Andriy Zhdanov reporter

    same problem here, plugin version 1.9, Jira version 4.0.1;
    pivot report created ok as long as no filter is selected.

    By stijn on Tue, 2 Feb 2010 05:35:23 -0800

  2. Andriy Zhdanov reporter

    The problem is that I did not check this case in Jira 4.0, so this piece was changed since 3.x, now I've fixed, please re-download plugin v 1.9 and try again.

    md5sum: f27d439b38b41df7b9b851d3c0cba631 *atlassian-jira-plugin-timesheet-1.9.jar

    Committed revision 149546

    By azhdanov on Wed, 3 Mar 2010 14:56:33 -0800

  3. Andriy Zhdanov reporter

    I have downloaded latest jar file and installed. It is working fine without any errors.
    Thanks a lot.

    Regards,
    Rajendra Mummadi

    By mummadi on Mon, 8 Mar 2010 22:29:50 -0800

  4. Log in to comment