How to prevent estimated time on a sub-task rolling up to the estimated time on the story

We want to set up a story as a time bank and allocate sub-tasks to the story so that time logged against the sub-tasks uses up the time bank until there is no time left. At the moment when a sub-task is added then its estimated time is added to the estimated time of the story so we have to manually adjust the remaining time.

1 answer

if i understand, i think your solution is an easy one. note in the screenshot below the checkbox for "Include sub-tasks." if this is unchecked, the total will not sum the hours of the sub-tasks.

Thank you for your comments Tanner. Sadly the solution is not that simple. We want the time taken for the sub tasks to be logged against the story, so the "Include sub-tasks" check box needs to be ticked. We don't want the Estimated time on the story to be changed whenever a sub-task has time logged against it.

To put it another way, when we set up the story, we want to fix the estimated time at say 100 hours. Then we carry out a sub-task that takes 20 hours, so we want the logged time on the story to show 20 hours, the Estimated time to still show 100 hours and the remaining time to show 80 hours.

ahh ... i see. then here's a possible solution:

  1. story gets created.
  2. all necessary sub-tasks get created under the story.
  3. story gets advanced to next workflow status.
  4. upon transition, custom code executes that copies original estimate to a custom field called "locked estimate".

of course, you'll have to write that custom code. you can do so with script runner. great plugin, and i use it often.

Thanks Tanner - I can cope with customisation, but code is a whole different ball game! I'll have a go at installing script runner and see how I get on with that.

I have been unable to install script runner. Does anyone have non-code suggestions?

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

676 views 4 16
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