Issue Details (XML | Word | Printable)

Key: JRA-3009
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Nick Menere [Atlassian]
Reporter: Paco Vidal
Votes: 209
Watchers: 97
Operations

If you were logged in you would be able to see more operations.
JIRA

Calculate issue estimates using subtask estimates

Created: 21/Jan/04 01:14 PM   Updated: Tuesday 12:55 AM
Component/s: Issue Links, Sub-tasks, Time Tracking
Affects Version/s: 2.5.3 Professional
Fix Version/s: 3.11

Time Tracking:
Issue & Sub-Tasks
Issue Only
Original Estimate: Not Specified
Remaining Estimate: 0 minutes
Time Spent - 1 day
Time Spent: 1 day
Time Spent - 1 day

File Attachments: None
Image Attachments:

1. rendition of feature enhancement.jpg
(110 kB)

2. screenshot-1.jpg
(461 kB)

3. subtasks.png
(21 kB)
Issue Links:
Duplicate
 
Part
 
Reference

Participants: Aga Pilch, Amos Hayes, Andreas Deimer, Andrew Byala, Andy Czerwonka, Anton Mazkovoi [Atlassian], Barry Kaplan, Bob Swift, Brian Krueger, Darren Bell, darren hartford, Dushan Hanuska [Atlassian], Eric Bloch, Eric Bloch, Evan Leonard, Hellmut Adolphs, James Kleist, Jeff Turner [Atlassian], Jeremy, Kari Dreyling, Lars Kühne, Marc Villeneuve, Matt Kenigson, Maurizio Mancini, Nick Menere [Atlassian], Onil Gunawardana, Paco Vidal, Patrick Trigwell, Sri Sankaran, Tim Miller, Tim Miller, Truls A. Tangstad and Vincent Eggen
Since last comment: 5 days ago
Resolution Date: 11/Sep/07 09:00 PM
Support reference count: 7
Labels:

Sub-Tasks  All   Open   

 Description  « Hide
A problem we currently have to workaround is the fact that we sometimes log high-level features that we then split into many smaller tasks, which we then link using a "subtask" link. I'm certain many companies do something similar.

The problem is that since for JIRA links are meaning-less, effort estimated on the high-level task won't be kept up-to-date with the effort involved in subtasks, etc.

In order to workaround this problem we have to specify quite a complex procedure for our developers.

If instead JIRA detected (or defined) this "subtask" links between issues, it would know it needs to add/substrack effort accordingly, etc.. and it would save developers & managers the effort.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jeff Turner [Atlassian] added a comment - 21/Jan/04 10:03 PM
JRA-2678 and JRA-3009 are much the same - both about propagating actions somehow across links.

Jeff Turner [Atlassian] added a comment - 26/May/04 06:35 PM
Hi,

Subtasks will be in 2.7. I have attached a screenshot of the "View Issue" page of an issue containing subtasks.

However, time tracking (work estimates, work log totals) for subtasks do not yet affect parent task, so I'm not sure if we can call this issue closed. How would you like it to work? Have subtask estimates/work totals add up to form the parent task estimate? Should the parent task be allowed to have its own estimate/worklog? If so, should the parent's values be added to the subtasks' to form a total?


Paco Vidal added a comment - 27/May/04 06:12 AM
Hi

This is what I would expect

  • Once an issue ("parent" issue) has substasks, work cannot be logged on it
  • The estimated time of a "parent" issue cannot be modified and becomes just a sum of the time for the subtasks. Same for worklog.
  • You can't resolve/close a "parent" issue until all substasks are resolved/closed too (or, optionally, automatically close all substasks when the "parent" is closed -warning the user of course)
  • Versions (particularly "fix for") should be driven by the "parent" task (subtasks share them and cannot modify them)

On the topic on time tracking, having support for subtasks in 2.7 is a great step forward ! but please please please fix issues like JRA-1993 and other issues I mention in JRA-3011. We really want to use time tracking but all our efforts are in vane since it is extremely hard to enforce proper usage.

Thanks,
Paco


Truls A. Tangstad added a comment - 02/Jul/04 04:33 AM
For estimating issues/sub-issues, i would suggest the following behavior:
  • Issues have an option "Combine time-tracking with sub-issues."
  • This options should be freely toggleable (but not set by default)
  • Parent issues can still be logged work to, and set estimates on, which can be considered "glue-time", time to complete the issue given completion of sub-issues.
  • When option is set, summaries like time-tracker show sub-tasks nested below parent-task in a tree-like view, with parent-task showing the sum of estimates/logged work. When showing parent issue in filters, also use sum of times, and preferably a tree-view way to show issues if they are also present in the filter.
  • When option is not set, parent-issue and sub-issues are shown at same level in summaries and filters, with their own times.
  • Administrator can set default value of option

What's missing though is being able to move work between sibling-issues or parent/sub-issue, in case you divide an issue into sub-issues after having worked on it.


Lars Kühne added a comment - 15/Jul/04 04:23 AM
I think that time aggregation is more a 'view' issue, not a 'model' issue'. Hence I think that the "Combine time-tracking with sub-issues" option should not be a "per issue" attribute, but an attribute of the Action/WebPage that display the issues.

If you absolutely want to have the aggregated time on a issue available, please make it a separate field ("aggregatedTimeEstimate") that is only updated automatically.

I am currently working on a custom report that tries to compute an estimated release date for a version (based on Workload from all projects, vacation times, etc.). That calculation will get seriously confused if the sum of all issue timeestimates of a version is not equal to the total workload for that version.


Jeff Turner [Atlassian] added a comment - 19/Jul/04 05:25 AM
Lars,

You're right - I believe the plan is to have a separate aggregated field, only in the "view" layer, so it shouldn't break what you're doing.


Brian Krueger added a comment - 01/Dec/04 11:58 AM
I want to be able to "Add up" the time estimates for subtasks and apply them to the parent task, but a little flexibility is needed here. For example, if the subtasks are being handled by multiple people working in parallel, there needs to be a way for those overlapping estimates to not inflate the overall estimate. Deadlocks from prerequisite issues are another concern in this regard.

Andreas Deimer added a comment - 14/Jan/05 07:31 AM
We have the same problem in our company.
We really need the parent issue to add up
all times from all sub-tasks.
So, from a parent issues, all sub-tasks time
information can be viewed.
Also, it would be great if the parent issue would
be able to display the current time estimates
of the sub-tasks, so you have an overview of
how all sub-tasks are proceeding.

Furthermore, it would be helpful if one could
change the display unit of the time being displayed.
Currently, all times are displayed like
"6 weeks, 1 day, 2 hours". We would like to have
it generally shown in work hours.
I could imagine that many companies also would
appreciate work days with fine grained adjustable
hours per day.


Amos Hayes added a comment - 30/Jun/05 12:11 PM
In an issue that has subtasks, I would like to "view" the aggregated time metrics of (all subtasks + (main task, if set)).

The issue of whether an issue (groan) can have an estimate set when it contains subtasks is difficult to solve. In one camp, you could create another sub-task for the "glue" and remove time tracking from the main issue. In the other camp, you could leave time tracking enabled on the main issue and sum it together with the sub tasks when presenting the issue. In the make everybody happy, but more confused camp, you could provide another configuration setting somewhere.

I think that practically, we'll have to live with times on main issues and sub tasks, and view them aggregated. I say this because main issues are created first, sub-tasks can be added anytime after. It is reasonable to expect that an issue will sometimes already have a time attached when a sub-task is added. I can't think of a good way to handle that problem, so best to let the user sort it out manually. Predictible & simple behaviour makes that a lot easier.


Bob Swift added a comment - 30/Jun/05 01:21 PM
I agree with Amos' last statement. All tasks can have time estimates and let the user determine from their processes whether or not the main task can have time charged against it.. Having a aggregate view that is the total of the task and all sub-tasks is important. Same if you went to deeper levels on subtasking.

Andy Czerwonka added a comment - 15/Nov/05 02:43 PM
I think it's quite simple. As soon as a prent has at least one sub-task, the estimate, time spent, etc., should be read-only at the parent level, where it's the aggregate of all of the sub-tasks. That'd be the simple approach, and it's work much better than it does today.

Jeremy added a comment - 06/Dec/05 04:38 PM
I agree with Amos' statements earlier. Is there any news on when this might be implemented? This is a key feature needed by my organization and may determine whether or not we purchase JIRA.

Anton Mazkovoi [Atlassian] added a comment - 07/Dec/05 05:43 PM
Hi Jeremy,

Unfortunately we do not have a concrete implementation date for this feature at the moment. As it is rapidly gaining in popularity we will be looking into this in the future. Please refer to the following document that explains the way we implement features:
http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+and+Improvements

Thanks,
Anton


Marc Villeneuve added a comment - 15/Feb/06 07:13 PM
Quite annoying because it feels like a bug even tought right now, it is a "feature". May also play a role in a wider adoption at our company.

Please fix it ASAP.

Thanks


Maurizio Mancini added a comment - 12/May/06 09:54 AM
Anton,

The sooner you can add this feature the better. It would be of great help to us. It is the one feature that the Program Manager in our project is screaming for.

Thank-You

Maurice


Hellmut Adolphs added a comment - 12/Jun/06 04:56 PM
Without this feature my project managers don't want to use JIRA for time tracking... please add it ASAP. I really want to get rid of Project Server
It would be great if as a bonus you get this one too: JRA-5745

Barry Kaplan added a comment - 15/Jun/06 07:48 AM
We currently use XPlanner to handle timetracking. While I love xplanner (it was developed on my project some years ago) we would really like to use a single a tool. It is a real pain to have to create xplanner stories for jira issues just so we can do real estimating and tracking of an iteration. So please, as an enterprise constumer, add my strong vote support usable timetracking. And by usable all I am looking for is:
  • allow time fields to be set and edited at the issue level
  • but if there are sub-tasks, rollup/override time fields from sub-tasks to parent issue
  • show some form of totals/progress bars in the version views so we can track iteration status

All the rest of the neat features of xplanner would be nice, but just the above would at least make jira usable for iteration planning and tracking.

cheers


Maurizio Mancini added a comment - 15/Jun/06 09:31 AM
Barry,

Just wanted to mention that we just went to version 3.6.2 and with a number of plug-ins we have managed to switch off of XPlanner and have everything in JIRA. We were also tired of using more than 1 tool.

I know that your second bullet is scheduled to be done in JIRA 3.7.

The other 2 bullets that you mentioned would be a great addition.

Kind Regards,

Maurice


Barry Kaplan added a comment - 15/Jun/06 01:06 PM
Maurice,

Please, could you describe your setup? What plugins? What did you get out of 3.6.2 (I didn't see anything changelog that seemed to address timetracking)? How are you using the jira timetracking? What have you lost from shutting down xplanner?

(sorry for so many questions

-barry


Maurizio Mancini added a comment - 15/Jun/06 02:21 PM
Barry,

Not a problem with the questions.

The key issues that are left for us are:

  • The ability to see at the task level the amount of time left on a sub-task without actually going into each one is scheduled for 3.7 (JSP-5650). I was incorrect, there is no ETA on the roleup of time (this issue JSP-3009)). I mixed up the 2 issues.
  • The ability to change the original Time Estimate (has also been reported but no plan to fix)
  • The history of tasks that span multiple versions as you move them from version to version (this can be handled by cloning issues (and sub-tasks in one clone command as of 3.6) however. Not pretty but doable).
  • The ability to put in time for a date (Also reported and no ETA)
    -Ability to change a time entry for all users. This is restricted to an administrator now.

We went from 3.4.3 to 3.6.2 and in between they made a number of changes that were useful (Charting Plug-In, Nested Conditions in the Workflow).

The plug-ins that we are running are:

Charting Plug-In
Time Sheet Tracking Plug-In
MultipleLevelGroupByReport

While there are still issues, just the searching abilities that are in JIRA which are not in X-Planner are worth the switch and you are on 1 tool. Our program manager doesn't feel like he lost anything but feels he has gained a lot.

Hope this helps.

Maurice


Onil Gunawardana added a comment - 21/Feb/07 03:35 PM
Any update on when this feature will be implemented? Are there any workarounds or plugins for summing up the work from sub tasks?

Dushan Hanuska [Atlassian] added a comment - 21/Feb/07 10:44 PM
Hi Onil,

This feature has been longly awaited for, but as Anton mentioned previously, we do not have a concrete implementation date for this feature at the moment. Please refer to the Implementation of New Features and Improvements document that explains the way we implement features.

Kind regards,
Dushan