Archive for December, 2008

Scrum Shock Therapy, Part 2

December 17, 2008

So we have a recipy for the team. But this is just not enough. We need to make sure that management and everyone else is on board. The second part of the Scrum Shock Therapy presents a bootstrapping recipe on how you can do this.

The first part of this series can be found here: Scrum Shock Therapy, Part 1.

The Management Recipe

The checklist above is only a part of what it takes to go through Shock Therapy. I often find myself at new companies and need to work with a bigger picture than focusing solely on the team. As is evident from the polls and surveys above, we need to address management as well. The word shock is perhaps more applicable here. If it has learnt anything from the past it is that you have to “drive” development – delegate, follow up, check, adjust, hand out, recheck…
Telling them to trust the very group that has not delivered before is asking for a leap of faith.

Setting up a recipe for this group is tricky. You have to adapt to management style, the corporate culture and so forth and the things you ask for are softer. These can be very hard indeed to change! In plain English; The management has to take some more real tough decisions for a Scrum to work efficiently. If you need to kill a document standard or process step then do so! If this is impossible (for now) then go for “barely enough”.

The Management

  • Attend the Scrum training session with everyone else
  • Hands off during 3 iterations
  • Attend:
    • Some Daily Scrums – be quiet
    • All Sprint Reviews
  • Start to work on waste – now!
  • Management by walking, asking and listening, i.e. practice facilitation.
  • Make the first step easy for the team

When learning something new you have to do it several times just to make sure you are not totally confused. I have found that three times a charm. Try your best to get management to abide by this “rule”. After the three iterations everyone has better picture to judge the value of the effort and Scrum.
Eliminating waste is vital on any type of project or endeavor. In a transition it makes even more sense, you have to make space to learn something new.

Finally, management has to ask the people that will perform these miracles what they need to do just this. Have they? Have you?

The Management Exit

  • One successful team
  • Removed impediments and studied results
  • Change in perception at “ground level”
  • A good agile reason to change the rule

Having one successful team is sort of self-evident. This takes patience when the ride is anything but smooth. Being a part of this process is important. Management will have the best ability to change ambition level, removing impediments etc. Get cracking and be that good example.

If there is a change at ground level on how they perceive management, then you’re probably on to something.

Is this recipe the final version – probably not? Your mileage will vary, adapt to your management.

The Organization Recipe

Many of our customers are just starting out doing Scrum. Therefore we typically come into play as an external effect. It is important for us to understand how the agile effort has started and its nature within our client’s organization. We can basically divide this efforts into to two major types – “bottom-up” and “top-down”. The typical traits for a bottom-up style is one where the programmers et al have decided to go agile. The management might be aware of this and even letting it run. Then again this might be a stealth and an under the cover job.

I have found the bottom-up approach to be the most common case. Programmers usually like to work in an agile way. In these type of setups my work usually revolves around questions like “How do we fit this to a waterfall context?” etcetera. This can be tough work, but I find it to be the more easy of the two – the people who do the day to day grinding are already on board.

The top-down effort of introducing Scrum comes with its own set of problems. Any methodology or decision that involves change tend to meet resistance from the organization. We need both experience and sideways effort to the transition.

The Top-Down Scrum Organization

  • Get a Scrum Sensei
  • Inject a Agile Senior Programmer into the teams
  • Make sure there is organizational transparency

The Scrum Sensei is an experienced Scrum Master who’s been there before. Much in agile and Scrum is common sense, but there is no need in making the simple mistakes. With a battle-trained mentor the whole organization get a sounding board (Swedish: bollplank) helping out to implement Scrum. This part is important to the Shock Therapy where he or she will be the contract owner enforcing the startup and approving exit. In some sense this person could act as a “bad cop” in a good-bad ScrumMaster setup.

Or in the words of Nanny McPhee – a children’s movie where a nanny answers the seven ne’er-do-well children on how long she will stay:
– When you need me, but do not want me, then I will stay. When you want me, but do not need me, then I have to go.
The Scrum Sensei needs to work in similar way to bootstrap the team and management.

A top-down effort always risks resistance from the organization. My experience tells me that a side way force is needed for translation on the factory floor. Moreover, such a person has the experience on a technical level to do the hands on tools and practices that is a vital part of any agile projects. A seasoned programmer with agile experience knows what works and how to translate the management vision into bits and bytes.

“Self-evident” sometimes reads “evident to myself and no one else”. If we want to affect the organization we also have to make sure that practices, experiences and results are easy to come by. Walking down a corridor should yield interesting information about ongoing projects. If there is a pilot project doing Scrum then visibility is high on the wish list. Not only does it mean commitment for the Scrum team, but also a pull factor for other teams to get on board. Organizational transparency comes in many flavors. Apply liberally!

Summing it up

There is no denying that projects have problems getting started with Scrum. But more often than not I believe that we can do something about it. Why not try some nice Shock Therapy?
It might be the sweetest hard deal around!

/Björn Granvik, Jayway

MySpace Therapy:
http://jeffsutherland.com/scrum/2008/09/shock-therapy-bootstrapping.html

Scrum Poll on Nokia Test Practice:
http://tinyurl.com/68vapj

VersionOne Report: State of Agile Development Survey:
http://www.versionone.com/agilesurvey/

Situational Leadership:
http://en.wikipedia.org/wiki/Situational_leadership_theory

Nanny McPhee:
http://www.imdb.com/title/tt0396752/

Originally published at Jayway Team Blog.

Questions from the Øredev session Shock Therapy

December 9, 2008

The Øredev conference was a real success. I’m involved in it ,so that probably makes me biased:-). However, I struggled for the first 10 minutes of my presentation to get my slides on the projector. A tip for you Mac users out there: Plug the adapter (dmi to vga) into the VGA cable first! I plugged a lone adapter into the computer first. It couldn’t find any projector and gladly gave up on me… Sigh. After that bumpy start I got going, but had to keep a brisk pace. Sorry, for that to those of you who where listening.

I asked for comments/questions. As it turns out I got mostly questions on Scrum in general and not so much on my topic – how to bootstrap Scrum. I’m not sure what to make of this.
Anyway, here are my takes on those questions. I hope they’re of some value.

Dear Björn,

How do you motivate a team to produce more without paying more for IT (salaries)?
Hourly salary seems retarded for agile teams.
Thanks!

Dear anonymous,

I’ll first look at the non-monetary part, mostly Scrum, and later on salaries and bonuses.

Self organizing
In many organizations people enjoy very limited control over their own situation. Being able to self organize is important. We humans just tend to like this.

Pick your tasks and choose your implementation
Again, if I can use my competence and decide (as far as possible) on how to implement a certain goal, I will enjoy my work the more. Using this approach I’ve even been able to rehire people to very problematic situations. Very powerful.

Deliver
When I ask programmers what they are most proud of, I usually hear words like “idea, made by me, real users”. It might not be the hardest and certainly not the biggest project they worked on. They used their competence, created something and delivered! In Scrum you get the delivery feeling at every sprint. If you break it down into activities no bigger than a day, then you will get that nice “flow” and people will be able to say “I did” every morning.

Good Colleagues
I’ve found that Agile makes sense if for no other reason than you can keep and hire the good people. SmartFriends(tm) is a great way to work!

I’m sure I could pick more facets of Scrum and Agile on how to motivate your team. But let’s move on to the Money. This part of my answer doesn’t have so much to do with Scrum or Agile, but rather my beliefs. So you have to be the judge here – what would work for you and your situation?

Powerful, way too powerful
Salaries, bonuses etc affect you – all the way to the bank and your holiday and…
In short: Once you start using money in different forms as your primary means of rewards, you will get a powerful ally in driving your people. Perhaps to powerful.

Take bonuses at a consultancy firm (a real example from life). You have all the good intentions so you set up a bonus system so that everyone will benefit if they have a client. More hours with customers, bigger bonus. Easy. This way you can lower your costs in bad times. Nice, if you’re just counting beans.

Effect: No one wants to come in do monthly meetings if it’s going to cost them money.
Counter effect: Introduce a threshold so that there is room for a bonus even though it doesn’t mean 100% with customer.

Another effect: You just removed your ability to make strategic decisions like “put someone on the big corporate account” that pays less, but means more hours. Who wants to loose money working for that customer if they have to take a cut money-wise?
Counter effect: You introduce another “rule” specifying that a lower price per hour will not affect their bonus.

Yet another effect: Holidays suddenly never cross the monthly boundaries. That would put your people below the threshold for the bonus on two separate salaries.
Counter effect: …haven’t got the faintest here what they did here.

I hope my example makes sense in your situation. My point is that money matters. When used to drive people you will get side-effects.
For me this is not good enough. I don’t want just to persuade people’s wallets – I want their hearts and minds. It has to be fun and engaging.

Here’s my short take: First make sure you have decent salaries etc. When this in place, aim for those things that make our working day worth while. Set interesting goals, get good colleagues, the right work to do, empower people and so on.

How to ensure creativity and quality in Scrum?
/Fredrik

Hi Fredrik,
I liked the way you wrote this on a green note (meaning “good” when voting at the conference). Thanks 🙂

Creativity
I believe there doesn’t have to be a contradiction between setting a goal and using proper frames (time, resources etc) vs. creativity – at least as long as we have the right to work to our own judgement within these constraints. I often find that this last part is missing. You get all the obligations, but no mandate.

In Scrum, one part of the creativity is built right into the process: Understanding the different goals. In the product backlog you should enter business value. This way the team has direct contact with the user’s intentions and can suggest alternative solutions that might be better, i.e. be creative.

Quality
If we’re talking IT, I would like to use automatic testing, continuous integration and so on to ensure consistent quality. Add to this an annoying email whenever something breaks and you have a good start 🙂

Moreover, the tight feedback loop using sprint reviews and such should pick up on issues like usability etc. Basically make sure you have a product owner that can spend time on the project.

Also make sure that your “definition of done” reflects your quality goals. It has to be very clear what “done” means within your organisation.

Hur gör man för att bryta ner gigantiska projekt över flera plattformar i lagom stora bitar för att köra Scrum?
[How to break down into gigantic projects over several platforms into decent chunks so that Scrum can be used.]
Sven Nilsson, SAAB

Hi Sven,

Your question seems to revolve around two hefty issues: Breaking down the project into several teams that are likely to depend on each others and breaking down the actual work to fit into a sprint. Perhaps “platform” has a special meaning within your organization and how you work. I would have to know a bit more to answer you on that point.

Teams and dependencies
This is tough on several levels. First let’s do the pure Scrum answer – Scrum of Scrums. This basically means that we organize our teams so that one person from each group “steps up” and forms a team that work across several teams. Dependencies etc can be resolved in this group, set up an encompassing backlog and work much in the same fashion as a Scrum Team. Jeff Sutherland, co-fonder of Scrum, has run this set up on 500+ persons. I would love to work on such an outfit.

However, and this is a big however, this is a major change for most companies. The ones I’ve met (medium size and up) just aren’t geared to handle such an approach right now. The number of issues and obstacles with such a transformation can be huge. If you find yourself in such a situation then I suggest you adapt piece by piece and continuously strive to be ever more agile. This is hard work and will mean small improvements upon each other, but maybe no hyper productive state.

This is where I chicken out and suggest you should get someone with experience. Every company is different and needs their set of actions.
Hell, buy me lunch and maybe I can point you in a good direction 🙂

Breaking up the work into chunks
This takes creativity.

First: Try to slice the work so that you will touch base with most layers/parts. This way we can have a better understanding of what it means to deliver the whole system. Therefore make the slice as thin as you can while at the same time deliver something “valuable”. This might mean you need to mock other components (code that isolates different components with dummy answers). This can be very beneficial since it becomes some sort of contract with other teams.

If the chunk still is to big then you might have to resort to cutting up the chunk into parts by level in your architecture. This of course has the drawback that we don’t know what it will take to implement the parts we didn’t do. Business value might be less, but we might be able to “prove” that we’re on the right track. What is “proof” to your product owner?
If you can, stay away of doing tasks in your product backlog. In worst case people will be task-driven: “I’ve changed the registry, can I go home now?”

If we want to/have to promise the customer a delivery date. How can we do that when we don’t analyse the whole project?
We are focusing on the next sprint?

How can we tell management how many resources we will need in one month?
/Patrik Johansson, Ericsson

Hi Patrik,

Several questions and perhaps the most common ones. Let’s dive into them.

Analyze the whole project?
Why we can’t analyze the whole project? Because, this is blatant lie for anything bigger than a trivial project. I apologize for my frankness, but I’ve never seen a project with a single version of the Gantt schema, a single time plan, with a known set of resources…
They always change. Always.

If you and your management can’t agree that things change then you might have to go dualistic – outwards project manager old style, inwards ScrumMaster. It’s not easy, but in time you will gain some victories, err deliveries, and you can move the agile thinking further up. Hard work, but it’s better than doing waterfall all the way.

Your question is still valid. How do we commit on delivery if most things might change? The customer still needs to plan an ad campaign.
One trick is to reinterpret the “commit to delivery date” into agile terms. Get a stable backlog and learn the team’s velocities. This way you can commit to the same “distance”. Things will change, but (as always) it’s down to making things fit into the available time.

For this work we need some iterations under our belt to know our velocity and hashing out what the product backlog should contain. Therefore, mix the project plan’s you have do at the start with some “real work” like coding. Inspect and adapt. After while I think you will able to commit to management.

Focus on the next sprint?
You shouldn’t just focus on the next sprint. The closest work (sprint) is fine grained and the most well understood. The further away (further down on the product backlog), the more coarse grained should the user stories be. No point in being specific, when they’re far into the future.

Resources?
Which resources can you get? Go for full time members. Make sure can keep them. Look at the product backlog and calculate what you can get done with the people (velocity etc) that you got. The important part is to couple the resources with the goals. All too often your resources get slashed and the goal knocked into orbit – and not on the same day.
Get them in synch so that a change in one of them will affect the other.

I hope this helped.

Regards,
Björn

Originally published at Jayway Team Blog.