Or “How do I figure out how much I've spent on something?”
Or “Do we still need to track time in a time tracking system for progress reporting?”
One base idea with agile to focus on completion of work rather than the effort it takes to get the work done. So, for example, we track the remaining work on a story rather than the counting the number of hours we spent on a story. This makes sense because while the effort might be interesting, we are really interested in the value delivered. Even if we now have the effort, it is history, so there is nothing we can do to change what happened.
Despite this you will sometimes hear calls to track how much time was spent on something. This is couched in terms of “Upper management wants us to use this information so they can see/say how much a certain epic or feature ‘cost’”. This is a valid business request. We should know how much we have spent or been spending on an epic or feature. The problem is that the first reaction often is call for tracking how many hours we spent on a user story and so we can understand how much time we spent on an epic. There are a number of problems with this approach (see below) but an alternative approach to getting what we need is to use the proportion of points a team spends on the epic.
The process for calculating the cost is to determine the proportion of the total velocity the team applies to an epic or feature and then multiple that by the cost of the team. So:
For each epic_or_feature For each team working on the epic_or_feature Sum For each sprint calculate (points completed on epic_or_feature / velocity of team) * burdened cost of team in dollars
In other words we determine the cost by proportioning the work associated with the thing we are interested in (here epic_or_feature) over the burdened cost of the team.
The burdened cost of a Team allows us to factor in things like different labor rates in the different countries if that is important to the organization.
There are a number of benefits if we use this approach:
In reality, if the work is large enough you’ll find an close enough approximation by simply counting the number of user stories in an epic as you do the work and proportioning the cost of the team that way (law of large numbers takes over - see Do We Need Points To Generate a Release Burn-up Chart? for more on this thinking). In the same way I expect you’ll eventually find that if you do to proportioning of cost via hours, you end up with pretty close to the same result as points. Many argue that ratios of points produce a better result than hours since it is more complete and both the people doing the work and the managers of that work talk about the same thing.
You can also come up with a “cost / point” calculation based on team velocity and cost (eg For a quarter, divide the total cost of the team by the total points completed by the team, (including Product Owner, Scrum Master, team members and the appropriate percentage of part-time contributor salaries). You now have the “cost per point”). Some will find this useful for looking ahead when estimates are required for projects, for example.
The benefit of this approach is that you can:
So what are the problems associated with using tracking hours? Some of the problems are:
But my biggest issue is the impact of putting this type of system in place from a cultural perspective. People say to me “you know, when we first started agile / Scrum it was great because we could focus on getting the work done. Now we have slowly reintroduced all the bureaucracy we used to have back into the system so our ability to work has decreased.” My view is that this is a natural tendency of organizations – to introduce more and more cruft rather than trying to keep things simple. I think we need to be very careful about putting systems and bureaucracy in place.
Worse than this, time recording takes people out of the mode of producing value and, in the worst cases, forces people to focus on creative ways to make time reports look real (or more accurately, good). It is sometimes too easy to focus on the question of how much something costs to produce, when the question we really should be driving is “how do we increase the production of value?”
See Can We Trust Story Points as a Measure of Effort? for additional thinking here.