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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 14, 2018 in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

781 views 5 7
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