Skip to main content

Do "Task Hours" add anything in Scrum (Agile)?

What do task hours add to the overall process in scrum?

This was a question that has arisen from all team members in both instances that I've helped teams switch over to scrum. The benefits of artifacts like the comparative story point estimation, the 2 week sprints, stand-ups and the end of sprint demo have been self evident to the team, but as one I think every team member has expressed dismay when it comes to task planning and estimating each task in hours. Left unchecked there is a natural tendency for people to actually begin to dread the start of each sprint purely due to the task planning session.

In my current role we've been lucky to investigate this further as a team.

The team sat down to discuss the problems it was experiencing with estimating tasks in hours and the following common themes appeared:

  • It is hard: Maybe it shouldn't be, but time estimation is hard! Story points are comparative and abstracted making them easier to determine, but time estimate is generally expected to be pretty exact and accurate. There is no getting away from the fact that time estimation is just plain difficult (and not enjoyable) for most people!
  • It takes too long: The discussion around how long a task will take takes time, each story might have 5+ tasks; so it could end up taking an hour just to task (and time estimate) a single story! It might be easy to agree in seconds that we need a task to add new functionality to a service, but a discussion to estimate the duration of the task will take several minutes, if not longer.
  • Outcome of one task affects the duration of a subsequent task: If you have two tasks, one to create / update Gherkin and another to create/update the bindings. How long the second task takes is directly proportional to how many features / scenarios change or are created in the first task. This is nigh on impossible to estimate at the task planning stage.
  • It doesn't involve all the team: When the testers are discussing an estimate for the testing task, the developers are under-utilised and vice versa. We tried having two task estimate discussions going on at the same time and that didn't work very well either.
  • Working to hours, rather than done: We all seemed to realise that there was a natural tendency to sometimes work to the hours rather than the definition of done! If you knew you only had 30 minutes left on the task estimate it is very hard to add those couple of extra tests that would really trap those edge cases - it's much easier to finish the task on time and put off those tests to another task that might finish earlier than estimated. This is re-enforced by the positive comments that generally arise from the "actual" hours line on the sprint burn down graph following the estimate line.
  • It ignores individual ability: A team is made up of individuals of varying abilities and knowledge. I might estimate a task to take an hour because I worked on something similar last sprint, or am familiar with that functionality, whilst somebody else with different experience will estimate the same task as 3 hours. We are both right in our own estimations, but we shouldn't be allocating tasks at this stage, so which estimate should you use?
  • Compromise reduces value of the process: Leading on from the previous point, if the individual time estimates for a task range from 1 hour to 3 hours, you are looking at a compromise - this tends to work for story points but doesn't lend itself to task hour estimates as it results in a very wobbly line in the burn down graph.
  • Discussing the difference for longer than the difference itself: Continuing this theme; the difference between the largest/smallest estimates may be an hour. If you have 7 people around the table, the moment you spend longer than 8-9 minutes discussing the task (it can happen) you've spent longer (in man hours) discussing it than the difference you are discussing!

Sitting down with the product owner, it was story points / velocity which gave them the confidence that we could deliver what we had committed to.

Sitting down with the scrum master, they understood the concerns of the team and in light of comments made by the product owner, agreed to run a trial sprint where stories would be tasked, but no hours would be assigned. A commitment was made by the team that we wouldn't slip back into a waterfall approach and that the ability to flag potential issues during they daily stand ups shouldn't suffer.

We are now in sprint 3 of our trial, and I'm happy to say that the removal of task hour estimation hasn't had any measurable negative impact. Personally, having worked in an agile environment for two years, it did seem strange to be missing the sprint burn-down graph, but now we are further into the trial it has just proven to us that it was just giving us false confidence without providing any actual benefit! Our velocity and ability to commit to / deliver stories hasn't seen any negative impact, whilst we've trimmed 3-4 hours off the task planning meeting every 2 weeks (14-28 man hours!) and everyone starts the sprint feeling ready for it, rather than worn down by the longer meetings that were needed for estimating the task hours!

If you and your team have reached the point where you now dread the start of new sprints purely due to task planning session, why not give dropping the "hours" estimating part of task planning a go and let me know how it worked out for you.


Popular posts from this blog

Problem installing AWS CLI

It never feels like a good start when you're trying to start out with something and the install fails with an obscure error! I was just trying to install the Amazon CLI following the instructions at and ran into the following error when running 'pip install awscli': Collecting awscli Could not find a version that satisfies the requirement awscli (from versions: ) No matching distribution found for awscli I appeared to have a correct version of Python installed (v2.7) and checking "PIP -v" indicated that 9.0.1 was installed. That all seemed to tick the required boxes but digging around a little more I did see that some people had had issues with various versions of PIP so I found / ran the following to upgrade to the latest vesion: curl -o python This installed v9.0.3 of PIP which burst into life when I re-ran 'pip install awscli' and everything seems to be ok. Like…

Mocking HttpCookieCollection in HttpRequestBase

When unit testing ASP.NET MVC2 projects the issue of injecting HttpContext is quickly encountered.  There seem to be many different ways / recommendations for mocking HttpContextBase to improve the testability of controllers and their actions.  My investigations into that will probably be a separate blog post in the near future but for now I want to cover something that had me stuck for longer than it probably should have.  That is how to mock non abstract/interfaced classes within HttpRequestBase and HttpResponseBase – namely the HttpCookieCollection class.   The code sample below illustrates how it can be used within a mocked instance of HttpRequestBase.  Cookies can be added / modified within the unit test code prior to being passed into the code being tested.   After it’s been called, using a combination of MOQ’s Verify and NUnit’s Assert it is possible to check how many times the collection is accessed (but you have to include the set up calls) and that the relevant cookies have …

Injecting HttpContextBase into an MVC Controller

It is a shame that when the ASP.NET MVC framework was released they did not think to build IoC support into the infrastructure. All the major components of the MVC engine appear to magically inherit instances of HttpContext and it’s related objects – which can cause no end of problems if you are trying to utilise Unit Testing and IoC. Reading around various articles on the subject just to get around this one problem requires the implementation of several different concepts and you are still left with a work around. The code below, along with the other links referenced in this article is my stab at resolving the issue. There’s probably nothing new here, but it does attempt to relate all the information needed to do this for Castle Windsor. The overview is that all controllers will need to inherit from a base controller, which takes an instance of HttpContext into it’s constructor. It then overrides the property HttpContext in the main controller class, supplying it’s own version…