|
[
Permlink
| « Hide
]
jakob Gormsen added a comment - 20/Feb/06 08:29 AM
As you can see the resolution date is not stored, INF26-24 were closet again from Reopened and there for the issue has an resolution date. If you need I can send you a backup of the system but will be to a company Email and I will encrypt it with a PGP key Please pelp.
Jakob,
As these are workflows you've written yourself - are you sure the resolution field gets set during these other transitions? What database are you using? Cheers, I have the same problem and I used postgrey database.
Thx Dom. Hi,
The problem is solved by updating the JIRA to Version 3.5.1 and the Jchart to 1.1.2. Yes, all the work flows are home made, and we are aware of stetting the resolution field every time. (-: We use the postschriptSQL for JIRA. Jakob F. Gormsen,PMP I had the same problem with Jira 3.5 and JChart 1.1.1, so I just upgraded to Jira v.3.5.2, with JChart 1.1.2, and still the same problem. I also have a custom workflow (a Review state between In Progress and Closed). I am using MSSQL/jTDS on Java 1.5 on Windows.
IIRC my workflow fires an "Issue Resolved" event when transitioning from the Reviewed to the Closed state. Incidentally, do the installation steps need to be re-done when upgrading? e.g. remove the custom field, re-add it, re-index? Hi all,
In my last comment for this issue I wrote: "The problem is solved by updating the JIRA to Version 3.5.1 and the Jchart to 1.1.2." After working with the system I have come to the conclusion that this is not 100% correct. I have seen that the charts displayed by the plug-in is not always correct regarding the number of issues that has an resolution date. Jakob's workaround does not work for me. I will maybe try to remove the plugin and re-install it.
i removed my resolution date created when I installed the earlier version of the plugin, readded it, re-index and voila, it appears to be working!
The workaround doesn't work for me too.
I don't try to desinstall the plugin and re-install it at this time. My configuration is : MySql / Tomcat Jdk 1.4 / Jira 3.2.5 / Chart plugin 1.1.2 I had this problem on our installation: JIRA 3.6, Tomcat 5.5, MySQL 4.1.12. It seems that the plugin (or something else) was storing a NULL_TIMESTAMP in the custom field storage. This broke this check in com.atlassian.jira.ext.charting.field.ResolutionDate (ResolutionDate.java:30)
// if issue is resolved and db value is null, then calculate date and store I "fixed" it by: So, now Resolution Date shows the date properly (this includes showing the date if an issue was transitioned through the standard Open->Resolved->Closed path and through the less-frequent Open->Closed transition). This fix applies to the latest trunk (rev2060) from svn. It seems that the fix has gone into http://svn.atlassian.com/svn/public/contrib/jira/jira-charting-plugin/trunk/src/java/com/atlassian/jira/ext/charting/field/ResolutionDate.java
I suggest that this issue is scheduled for the 1.2.4 release. This fix has not made it into any branch or release of this plugin. I was forced to add Sean's fix and build my own plugin. The fix works but I should not have to add this fix every time I upgrade this plugin. Please add this fix into the plugin code.
Thank you. Standard comment when Atlassian suggests: "Here is a source code change":
For JCHART-20,
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||