I have the re-scheduling option activated but my tickets are not displayed on the gantt chart. Investigating I have found some evidence of why it may not be working.
In my workflow, tickets are *not* estimated when they are created. I've added a specific step for that called "analyzed" where is set the planned start date and the worload estimate.
The thing is that planned start/end are filled when creating the ticket so when comes the time to estimate, those date are already calculated (issue log):
Field Original Value New Value Planned Start 2012-10-31 (initialized without having effort estimation) Planned End 2012-10-31 (initialized without having effort estimation)
When the estimation is done the end date is not updated acordingly (issue log):
Status Open [ 1 ] Analyzed [ 10000 ] Original Estimate 13.5d [ 388800 ] Remaining Estimate 13.5d [ 388800 ] Planned Start 31/10/2012 05/11/2012
So it seams that I'm stuck here. The only solution I've found is deleting the end date and for the Gantt Chart plugin to re-calculate the missing end date (issue log):
Planned End 2012-12-04 (generated: based on start date + estimation * velocity)
Do you have any sugestion on how to fix this? Thank you for your help!
Ok, with Frank support we managed to have it working with the latest plugin version.
My main main problem is because the estimate is not done when creating the ticket, but only in a specific transition from a custom screen.
To solve this I used the new Gantt-Chart: unset Planning Dates (rollback as if it is not being set) post-function on my transition.
That way, when comes the time to enter the estimated worload the automaticaly calculated start/end dates are delete, and a re-scedule event is fired.
in your special case, I suggest to put in an additional workflow post-function for your "analyse"-step/workflow transition, which will delete the content of the customfield "planned end date". This post-function has to be ordered as the first one, which will be executed, so that the Gantt-Listener detects no planned end date and calculates it, later/afterwards. Such post-function is not part of JIRA's native set of function, but have a look at the free available addons.
I've tried that, but it does not work either:
Planned End 05/11/2012 Status Open [ 1 ] Analyzed [ 10000 ] Original Estimate 8d [ 230400 ] Remaining Estimate 8d [ 230400 ] Planned Start 05/11/2012 12/11/2012
You see that the planned end date is cleared, but is not calculated afterward. My post functions for analyze look like this:
The field Planned End will be purged. — THEN Set issue status to the linked status of the destination workflow step. — THEN Add a comment to an issue if one is entered during a transition. — THEN Update change history for an issue and store the issue in the database. — THEN Re-index an issue to keep indexes in sync with the database. — THEN Fire a Evénement générique event that can be processed by the listeners.
Have I missed something? Thank you for your support.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG