Opened 20 months ago

#11318 new enhancement

PATCH: ALAP scheduling uses remaininghours to compute finish of predecessor tickets

Reported by: falkb Owned by: ChrisNelson
Priority: normal Component: TracJsGanttPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0


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?

Attachments (1) (5.0 KB) - added by falkb 20 months ago.
first trial (not yet working right)

Download all attachments as: .zip

Change History (1)

Changed 20 months ago by falkb

first trial (not yet working right)

Add Comment

Modify Ticket

as new The owner will remain ChrisNelson.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.