Opened 3 months ago
PATCH: ALAP scheduling uses remaininghours to compute finish of predecessor tickets
|Reported by:||falkb||Owned by:||ChrisNelson|
The official plugin code uses the planned (== "estimate") work hours for computing the finish of predecessor tickets in ALAP mode (as late as possible).
This is a problem here where we want to have a Gantt chart plan that shows today's ALAP scheduling based on the remaininghours of the tickets, which the ticket owners have estimated as the rest of necessary work from week to week. This way we have a survey of the current state of a project, and if the milestone is still feasible.
Look at the attached trial of a patch. It still doesn't work, and I could need your hints how to get it working. I have doResourceScheduling on, but the tickets of a certain owner are not cascaded as expected.
Given for example 2 tickets with estimate=80 (originally planned), totalhours=40 (already worked), remaininghours=20 (currently estimated rest of work) I would expect that ALAP scheduling let ticket 1 finish 20 hours before ticket 2 finishes. The original plugin code lets ticket 1 finish 80 hours before ticket 2 finishes. My current patch lets both tickets finish at the same time, and I don't know why. Could you help me, please?