Estimates not rolling up to parent

So, I've got Original Estimate filled out in my subtasks, but they're not rolling up to the story. I've missed something along the way. Any help? Thanks.

3 answers

1 accepted

0 vote

Just in case you need to roll up original estimates anyway (or time spent), you can use Structure plugin for that. It can also combine multiple backlogs, or group stories under epics, and roll the estimates up into the epics or higher-level issues. In the near future it is going to be able to roll up any numeric field.

Cheers,
Igor

Disclosure: I work for the company behind Structure.

2 votes
Eddie Webb Community Champion Mar 01, 2013

See Shaun's discussion I linked to in your other question. If you want estimates to roll-up from sub-tasks, I believe only "remaining time" will be rolled up. It is a larger discussion we should not repeat here, but sprint planning and estimating should be done at the story level, not rolled up from sub-tasks.

But if you want remaining time to roll up, first select that in the board's configuration for time tracking

And then the story and sprint estimator will show you those rolled-up values

Thanks Eddie. I did some further review of this and agree with the guidance that estimates should be given on stories. Will suggest that to our team. Thanks again for your time.

Working with support from Arsenale Dataplane, we are now able to view a report that includes epics, the stories in those epics, and the subtasks for those stories. Though we are using Dataplane (a paid addon), the scheme for setting up a scripted field that can be used to "segment by" epics is still useful without it.

How Dataplane solved the problem for me:

  1. Install Scriptrunner addon (free).
  2. Create a new Script Runner custom field ("Scripted Field") in JIRA, called "Master Epic" (or something similar). Here's Arsenale’s own Dataplane primer on how to set up and use Scripted Fields. Here's a more general Script Runner primer on how to use a Scripted Fields. You are going to use this field to report on the Epic that the issue is a part of, regardless of whether the issue is a parent or a sub-task issue. Scripted Fields use programming script written in a language called Groovy. It's virtually identical to Java.
  3. After creating the field, go to the Admin>Addons tab.
  4. Click on “Script Fields” under the Script Runner section on the left.
  5. Click Edit.
  6. Enter the following script:
  7. Reindex JIRA.
  8. If you are using Dataplane, reindex it also.
  9. In Dataplane you can create a report that uses this scripted field to “segment by”.
import com.atlassian.jira.component.ComponentAccessor;
import com.atlassian.jira.issue.CustomFieldManager;
import com.atlassian.jira.issue.fields.CustomField;
import com.atlassian.jira.issue.Issue;
 
CustomFieldManager fieldManager = ComponentAccessor.getCustomFieldManager();
CustomField epicLinkField = fieldManager.getCustomFieldObjectByName("Epic Link");
CustomField epicNameField = fieldManager.getCustomFieldObjectByName("Epic Name");

if (issue.isSubTask())
{
    issue = issue.getParentObject();
}

Issue epicIssue = (issue.getIssueTypeObject().getName().equals("Epic")) ? issue : issue.getCustomFieldValue(epicLinkField);

return (epicIssue != null ? epicIssue.getCustomFieldValue(epicNameField) : null);

Using Moriah's instructions with the Arsenale Dataplane add-on, here are some nice charts of estimated time per Epic, further segmented by Issue Type. Time Estimates for all standard issues, sub-tasks and the Epics themselves are included.

1. What is the Time Estimate for each Epic?

2. What percent of the Time Estimate for each Epic will address Bugs, Feature Requests, Stories, etc?

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

44 views 0 3
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot