Showing posts with label visibility. Show all posts
Showing posts with label visibility. Show all posts

Monday, 12 November 2012

Working out your team's velocity

How does your team know how much work they are able to commit to in a sprint?

If they're anything like my team, velocity can often be less of a science and more of an art, or rather, a finger in the air/gut feeling that there's too much or too little work in the sprint.

We wanted to change this, and learn more about our velocity, so the first step was to at least get an idea of some basic metrics. I find it hard to remember, but there was actually a time before we estimated stories and gave them story points.

When the team was first formed, we tried estimating in hours, and eventually shifted to story points using planning poker (because they are more abstract, allow for mutual calibration and take into account effort, complexity and time).

We tried pointing for quite a while before we started to arrive at a more consistent velocity. It took about 14 sprints before we had an understanding of what we were capable of as a team.

Our velocity (the tall column on the left is a fix version where we threw legacy stories to clear them out).


But we still had the issue of not knowing exactly how much we could commit to in the next sprint, because whenever we used the previous sprint as a guide to capacity for the next sprint, there were always mitigating factors and "exceptions" why the velocity was higher or lower.

Finally, we came up with 2 practices which seemed to make a big difference.
  1. Rather than looking at the last sprint the gauge estimated velocity for the upcoming sprint, take the average of the last 3 sprints and this will give you a better idea of how your team performs over time.
  2. Estimate take taken for absences such as Public Holidays, Vacations and Training. Story point these absences as you would for a piece of development work, and you will begin to take people's time away from the office into account when determining capacity for the sprint

What techniques do you use in order to understand your team's capacity for a sprint? Do you estimate in hours? Or story points? Or both?


Tuesday, 21 August 2012

Measuring Agile values






I'm really very proud of the team here, in that I think they've done a lot of work over the past 18 months to adopt the Agile principles and the 'characteristics of a high performing team'. One of the most useful exercises I've done recently is to actually get the team to rate themselves on these values and characteristics. This works, not only because they are able to see a reflection of their own performance, but also because I can share these metrics with our new departmental head, as an indication of how the team is doing.

The graph above represents the outcome of the team rating themselves last week. The task was to read through all of the values and then rate how true they are for the team on a scale of 1 to 5, with 5 being outstanding. Looking at the graph, I think the team thinks they're doing pretty well, and it also highlights areas that they believe they're particularly good at, such as:

  • Openness
  • Empowerment
  • Consensus driven
Those values really ring true for our team, and when I showed them the graph, it felt authentic to them, as well.

If you want to do an exercise like this with your team, here are the Values and Characteristics.

Scrum Values
Commitment – Be willing to commit to a goal. Scrum provides people all the authority they need to meet their commitments.
Focus – Do your job. Focus all your efforts on doing the work you’ve committed to doing. Don’t worry about anything else.
Openness – Scrum keeps everything about a project visible to everyone.
Respect – Individuals are shaped by their background & experiences. It is important to respect the different people who comprise a team.
Courage – Have the courage to commit, to act, to be open, and to expect respect.



Characteristics of a High-Performing team

1. Self-organising rather than role- or title based.

2. Empowered to make decisions.

3. Believe that, as a team, they can do anything.

4. Committed to team success, rather than success at any cost

5. Team owns its decisions and commitments

6. Trust (rather than fear or anger) motivates them

7. Consensus driven, with full divergence followed by convergence

8. They live in a world of constructive disagreement


Please rate our team on a scale of 1 – 5, with 1 being lowest and 5 being highest.

Thursday, 9 August 2012

Ideas to liven up your Agile retrospectives

For almost a year, I led my team in a standard method of sprint retrospective:

  1. Draw happy and sad faces on the board
  2. Draw arrows: up, down, equal (to represent "do more of, do less of, keep the same")
  3. Everyone quietly reflects on the sprint and writes their thoughts on sticky notes
  4. They then stick the notes by the icon that fits the most, happy, sad, keep the same, etc
  5. We all then gather round and look at the notes, taking it in to find common themes
  6. The notes are then grouped into rough themes
  7. Actions are derived from the themes and (sometimes!) assigned an owner
  8. We all wander back to our desks, somewhat satisfied that things will change in the next sprint
  9. Outcomes are documented on the wiki with photos of the whiteboards

On one hand, I have to commend the team for sticking with the retrospective process, sprint after sprint, rather than abandoning it, which is what a lot of teams tend to do. Retros can be the first thing to go in Agile teams, as they can feel like a waste of time, especially if no actions come out of them.

On the other hand, we let the process get stale to the point where it seemed like a robotic action to go through every other week.

It was time to shake things up and do the retros a little differently. We decided to learn some tricks from another team, and try part of their retro method.

In this exercise, you go around the room and everyone states:
  1. How they rated the sprint on a scale of 1-5 with 5 being best
  2. List 3 words that describe the sprint for you

Everyone rates and describes the sprint


In this exercise, everyone takes a marker and makes a graph of their happiness throughout the sprint. It allows you to see where blockers had an impact on team morale or where one person is feeling particularly frustrated by something.
 
A visualisation of team happiness


We then finished the session with the exercise to understand common themes:

Uncovering common themes





Thursday, 26 July 2012

The Kanban Coffee Shop

The principles of a Kanban, as defined in David Anderson’s Kanban, are:
  • Visualise work
  • Limit work in process
  • Measure and manage flow
  • Make process policies explicit
  • Use models to recognise improvement opportunities

Kanban barristas


A couple of weeks ago, our team found out how similar a Kanban software team can be to a coffee shop. The guys from Agility in Mind did a great exercise with us where we were suddenly morphed from a development team into a group of (comically terrible) barristas.
 
They set up stations around the room for:
  • Customer orders
  • Coffee shots
  • Milk/foam
With a few constraints in place, we were then set to work on creating a flow for customer orders. Feedback from our coaches was that it was an incredibly painful thing to watch.  

In the first round, orders came in very fast, which rapidly overwhelmed the coffee shot station, creating a backlog. By the time the orders got to the "customer", 75% of them were wrong!

Rather than listening to the customer (who was literally standing in the corner calling out "Hellllooo??"), we instead gathered together to see how we could improve.

We added Quality Assurance as the final step in the process, and we flowed a bit more smoothly the second time around. Again, we ignored the customer's entreaties.

Finally, we gathered together and proposed a radical change: rather than handing the coffee cup from station to station, we would travel with the cup until it was complete. With this change, people went from specialists to very confused generalists, which resulted in the longest round of drinks with very poor quality for the customer. Epic fail!

Comparison of barrista work to software development


In the end, we learned a bit more about creating an efficient flow, as well as the major lesson of listening to our customer.

Ash Moran at Patchspace explains it well...

What happens from the coffee shop’s point of view is this:
  • You, the customer, arrive at the customer queue, and you do so randomly (at this point, you wait)
  • A barista takes your order, a list of random drinks – that is a batch of work to be done, of variable size, complexity and value
  • Your order goes in a queue (at this point, not only are you waiting, but so are the drinks)
  • One or more baristas make your drinks, that is, the batch of work gets processed (you’re still waiting)
  • A barista hands you your order, that is, the completed batch of work
Before we go on, just reflect how similar this is to software:
  • The client / business turns up with a “new idea”
  • The client describes some work they want you to do (which will be of variable size, complexity and value)
  • You put the request in your backlog
  • At some point, one or more developers become free and turn the request into working code (which will take a variable amount of time)
  • You deploy the software/deliver the code, etc
So if you can accept that an index card describing the new feature “View product listings by category” is more or less the same as an empty coffee cup waiting for a drink, the two processes become coherent.

What are your experiences with a shift from scrum to Kanban? Any ideas on how to create a more efficient flow of work?

Friday, 20 July 2012

Improvement Experiments Kanban

The team are very keen to always improve their agile practices, with many suggestions coming out of each sprint retrospective. Some of these get implemented, stick, and become part of the new way of doing things. Others fall by the wayside and are forgotten.

Improvements can be things like:
  • Implement pre-dev checks to explain the work that will be done
  • Rotate the scrum master role around the team to keep it fresh and ensure everyone is involved
  • Create a Readiness Board to ensure stories are prepared enough to go into a sprint


We had a few excellent sessions with Matt Wynne and his colleague Rob last week, where they helped us to focus our improvements.





The Kanban board is courtesy of Agility in Mind, and was re-purposed to become an Improvement Experiments board for the team.

The idea behind the Improvements Experiments is that, rather than just a collection of "good things we should be doing", some structure gets added to the process improvement.

Here's the process in a nutshell from Matt & co:



We've already started tracking items on the board, and so far have proven 3 experiments. So it seems that we're onto something here!

Have you had any success with methods of tracking the improvements your Agile team suggests during the sprint retrospective? Please comment and share your experience.

Thursday, 14 June 2012

Translating roadmap items to actual stories


We have found that sprint planning sessions go a whole lot quicker when we know the details of the stories ahead of time, including having architecture discussions and working out any dependencies on other teams well in advance. I can't tell you how many sprint planning sessions have been side-tracked by lengthy discussions about architecture, coding approaches or why the piece of work is more complex than anyone originally thought. Our sprint planning sessions could take 4 hours in the bad old days, even when we tried to timebox our discussions.


Planning ahead without the team

Here's how our process used to work:
  1. “Next Sprint Goals and Roadmap”
    Who: Product Manager and Project Manager
    What: Establish the next sprint goal, list the epics in priority order and plan the epics for 3 iterations in the future (headlines only, no detail in the epics)
  2. “Pre-sprint Backlog Pruning”
    Who: Product Manager, Project Manager, Lead Developer & Senior SE
    What:

    • Review next sprint goals
    • Review epics in priority order with a view to breaking them down in advance of sprint planning
    • Take a realistic look at what’s achievable in the sprint.   
  3. “Sprint planning”
    Who: Entire team
    What:

    • Features are explained by Product Manager
    • Team commits to a number of points based on the velocity of the previous sprint, plus any upcoming training/absences.
    • Tickets are pre-prepared using templates to include Definition of Done, NFRs, Tests, etc.
    • Priority of tasks is reviewed again with Product Mgr.
    • Tasks are pointed and anything over the threshold is moved to the top of the Backlog
    • Release tickets and load testing tickets are raised.
    • Cards are printed out for the wall.   

What's missing?
 
In the weekly "Next Sprint Goals and Roadmap" session, the Product Owner and Project Manager worked out a roadmap detailing several month's worth of planned work and put it all up on a board in plain sight of the team. The thinking was that they could get on with the forward planning without having to take the team away from their work and that the team could then see the headlines that came out of the session. It felt pretty comprehensive and efficient. However, funnily enough....

 
It turns out that visibility on the wall doesn't translate to a team understanding of the upcoming work.


The team were at a loss as to how we could manage to get "on the front foot" and close the gap between high-level roadmap items and actual, broken-down-and-estimated stories.



What's missing is the team!

One of the major themes of our Sprint Retrospectives was Teamwork, and how we could achieve visibility of upcoming work. How better to do this than to involve the team earlier in the planning activities?

We gave it a try, expanding the invite to the "Pre-sprint Backlog Pruning" sessions to the entire team.
It worked a treat! Instead of the team first hearing about upcoming work as an email of headlines before sprint planning, and only getting a full explanation at the start of the actual planning session, they began to hear about the stories several days ahead and could have time to prepare tickets and think about their approach.

Now, we're working on ways to increase visibility of upcoming work even further and have introduced a Readiness Board as an experiment. 

Friday, 18 May 2012

Working with scrum teams in different locations

Working in a distributed way is becoming more common. This can be a particular challenge for scrum teams. Here are some ideas of how to run distributed scrum teams, assuming that they are co-located, rather than having members of the same scrum team split across locations (a very different challenge!).

Have a Project Kick Off


Have a project kick off with everyone in the one location. Run through everything pertinent to the project and get everyone to present something, including information on themselves.
A good project kickoff can make all the difference, because people will tend to work more smoothly together once they can put a name with a face. Rather than just an exchange of information, use the kickoff as a way to bring the teams together socially and have a bit of fun.
  • Book a group lunch
  • Invite the group to the pub
  • Have introductions - ask everyone to give an interesting fact about themselves

Don't underestimate the extra time needed 


Extra time will be needed for:
  • Ongoing careful comms to plan and to prevent misunderstandings
  • Travel
  • Questions and queries (which will take longer to ask and answer)
  • Video conferencing.

Use chat/IRC or messaging


Tools like IRC or Skype can be used to create team "rooms" to act as a virtual home for a distributed team. Each team member can use whatever chat client suits them and they can also use it from home. Encourage everyone to be logged into chat or messaging all day. If you use multiple channels for your project, ensure that everyone feels welcome to join into any of them and that logs are freely available.

Hold a daily Scrum of Scrums 


Have a daily Scrum of Scrums between the leads on each project.
If you hold this in chat/IRC:
  • Use a separate channel from the main project's channel
  • Remind others that "chickens" are welcome and what the log location is
  • Make sure that it starts on time
  • Encourage the attendees to have the text ready beforehand to cut and paste so that others aren't hanging around whilst people type
  • To keep things moving it's a good idea for everyone to state when they have finished and/or choose the next person to give an update.

Get good at Video Conferencing


If you have access to a corporate video conference system, make use of it to hold end of sprint demos and ad hoc chats between the distributed teams. If not, you can use Skype, though the quality isn't as good for demos. Google hangouts is preferable to Skype for scrum of scrums, because it can handle multiple attendees (more than 2 participants).

Agree Travel Budgets


If you can get to and from the other locations in a day, try to budget for at least:
  • Initial project kick off trip to one location, including overnight stays if needed
  • One person's trip from each team to each other location per sprint (more if you can afford it)
  • Trips at the start of the project whilst teams ramp up
  • Trips for new joiners to get to know the other teams
  • End of project celebration

Improve communication


Clear reports, clear and useful pre-sprint planning and up-to-date-ness of issue trackers will help.
Agree the comms that you will have between teams, everything from ad-hoc queries, through in-team reports and updates to stakeholder reports.

Document everything - no, seriously, write it down!


Make use of a team wiki and ticket tracking system to ensure that the remote teams have a single area to share information. It's better to over-document than under-document, even if you're an Agile team (being Agile doesn't mean having no documentation!). One of the most frequent frustrations that a remote team has is that they miss out on the "hallway" conversations that happen in the other office. So, whenever the team discusses something, make sure that someone writes it down in the wiki.
Examples of useful things to document:
  • A checklist of activities that occur during the sprint, so that both teams are always in sync
  • A record of dependencies on other teams so that everyone knows the gaps in responsibility for tasks
  • Listings of communications methods so that the teams know their options for getting questions answered
  • Working agreements clearly stated for the teams, which help to align the practices of geographically separated groups
  • Areas on the wiki, such as a scratchpad where remote teams can record their thoughts, concerns and questions -- then have them answered

Use common working practices


If two or more teams in remote locations are working on the same project, try and merge working practices as much as possible so that there's a common language and frame of reference between the two groups.
  • Use a single ticket tracking instance for the teams
  • Follow the same sprint cadence:
    • Use the same sprint numbering for both teams
    • Hold sprint demos over video conference
    • Share both teams' sprint goals and priorities at the start of each sprint
    • Hold sprint retrospectives and planning sessions at the same time
  • Use the project as an opportunity to learn from the other team and improve the way both teams work
(Thanks to Anna Charemza for collaboration on these tips)