Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi There,
I am obviously missing something really easy... but how do you record progress against a task?
I have created a project which has some tasks and that is fine... but how do I then claim those tasks as 50% or 100% complete?
Thanks,
Richard
Comments
Comment #1
D34dMan CreditAttribution: D34dMan commentedHave you enabled timetracking module?
Comment #2
juliangb CreditAttribution: juliangb commentedI think there is a strong argument for adding a field like this. Different to time tracking (which records the absolute amount of time spent against a task, etc), this would record the percentage completion and is useful for displaying in Gantt charts etc.
Therefore, moving this to a feature request, and marking postponed as we're not likely to look at this until the current work to get a stable 2.x released is done.
Comment #3
juliangb CreditAttribution: juliangb commentedWe're going to add a field that takes a 0-100% value to the new PM Issue content type.
Then, progress of projects could be inferred by aggregating the progress on each issue.
But this will come after #2399043: Combine ticket and task content types to a single content type, so keeping as postponed for now.
Comment #4
juliangb CreditAttribution: juliangb commentedIssue module now exists, so we can add the progress field.
Comment #5
D34dMan CreditAttribution: D34dMan commentedComment #6
D34dMan CreditAttribution: D34dMan commentedIssue module now exists along with Ticket and Task. Should this progress field's instance be attached to all three of them?
Comment #7
dbt102 CreditAttribution: dbt102 commentedWill the "progress field" be set by the user or computed by PM ?
...
When setting up a 'Project, Task, Ticket or Issue' I can define an "end date", a "duration" in terms of hours or days, or a "price". These are essentially estimates
When logging my work towards completing a 'P,T,T, or I' using Timetracking, I show a start/end time which computes the duration.
So progress can be measured in terms of how much time I've spent towards completing a 'PTTI'.
ie: if the budgetted time on a Ticket is 10 hours, and I worked 5 hours on it so far, then my progress is 50%.
Progress on Ticket = Total Ticket Timetrack / Ticket Duration
and of course
Total Ticket Timetrack = Timetrack Ticket #1 + TT#2 + TT#3 ...
Comment #8
D34dMan CreditAttribution: D34dMan commentedAuto calculation of progress field is a very complicated task. It should be delegated to a contrib module.
Drupal PM can provide a field which can hold the value and can be entered manually.
Once the field is in Drupal PM, maybe create a new issue (feature request) to autocalculate it. Where we can discuss how to proceed.
Comment #9
dbt102 CreditAttribution: dbt102 commentedagreed, thanks for the clarification
Comment #10
juliangb CreditAttribution: juliangb commentedMy thought too was this was a manually entered % field.
@dbt102 Something i also thought of when reading your calculated example is that if a project is overrunning, then just because the estimated time has expired doesn't mean that it is finished!
Comment #11
juliangb CreditAttribution: juliangb commented@D34dMan, do you already have code for this? Otherwise this might be better to be postponed.
Comment #12
D34dMan CreditAttribution: D34dMan commentedComment #13
D34dMan CreditAttribution: D34dMan at Factorial GmbH commentedAll feature request against 7.x would be closed. The focus is now on Drupal 10 release. If you feel this issue is relevant for Drupal 10 version of the project, please feel free to re-open and update the issue. Thanks for the discussion/contribution.
You may follow #2215499: Port PM to Drupal 10 to know more about Drupal 10 status.