Showing posts with label software development. Show all posts
Showing posts with label software development. Show all posts

Wednesday, May 14, 2008

Analysts (not clients) as Your Scrum Product Owner

In a conversation yesterday I was talking with a colleague of mine about the difficulty of doing Scrum in a consulting environment, such as when we are hired to build custom software for our clients. Often times we are on a fixed or firmly entrenched budget (whether our contract is Time and Materials or not) and our clients don't have the time to sit in and fill the role of Product Owner. Nor will that client really want to participate in many of the day-to-day sessions.

In this setting (well, most settings actually) I highly recommend having a talented business analyst on the project. This person's primary job is to gather, refine and prioritize requirements. Their role in RUP and other processes remains largely unchanged. In fact, many of the great tools and techniques learned in RUP and UML translate very well.

On a Scrum project, these analysts should work at least a Sprint ahead of the development team. They meet with clients and get documents approved and signed off on. Then when the development team starts a new Sprint, the analyst fills in the role of Product Owner. They provide hands on reviews of software in progress and help interpret requirements. Sprints start off very effectively because that analyst has documented a use case or user story and may even have some wifreframes sketched out.

It is the analyst's role to get questions answered quickly from the client in order to keep the development team productive.

Their are obvious downsides, of course. The analyst is NOT ultimately the actual Product Owner. There is a difference between what the actual Product Owner will want and what the analyst will specify. I contend that for most software projects the difference is acceptable and their really are no better options without the Product Owner making a larger commitment of their time.

Wednesday, March 5, 2008

Issue and Risk Management in Scrum

Today I met with an organization who has three simultaneous development teams and is closely following the Scrum rules for managing risks and issues. I tend to think this approach is deficient, however. Perhaps it's the traditional Project Manager in me, but I have really come to rely on a well managed risk and issue log as part of my tool box. In fact, I would frequently spend more time in my issue and risk log than in my backlogs (in Scrum) or project files (in RUP or my company's methodology). I recently received this e-mail from "MN:"

From: MN
Sent: Tuesday, March 04, 2008
To: Santiago, John
Subject: Risk management

I was wondering how risk management gets done in scrum. Is this an explicit activity or is it sort of inherent in the prioritization process?

I have this voice in the back of my head saying: "Mike, you should be doing risk management..."
_ _ _ _
My response:
In theory, “Frequent risk and mitigation plans are developed by the development team itself. – Risk Mitigation, Monitoring and Management (risk analysis) is incorporated at every stage and with “genuinity”.

I always took a more proactive approach and kept a classic risk and an issue log complete with mitigation plans and results, so that I could help remind the team of past decisions and make sure items don’t get lost. Sometimes issues or risks would manifest themselves as actual backlog items. The reason I ask in our standups about work is being held up or roadblocks the team has is to identify Issues and sometimes Risks. During Planning meetings I watch for any backlog items that are uncertain, and those quickly become risks. It also helps to ask the team during Planning, “What problems do you think we could encounter?” They can usually answer that question, but can’t always answer a more formal question such as “What issues or risks do you see?”

Monday, March 3, 2008

How to Facilitate a Scrum Retrospective

From: MN
Sent: Monday, March 03, 2008 10:33 AM
To: Santiago, John
Subject: Scrum iteration retrospective

Our first iteration ended up going reasonably well. We moved about 20% of the original work back into the backlog, but the client readily agreed that these were low priority things. We'll have our first retrospective tomorrow morning at 9am, followed by our second iteration planning meeting.

I was wondering if you had any advise on how to conduct the retrospective....

_ _ _ _ _ _ _ _


For the Retrospective, use whatever facilitation technique you are most familiar with, but as ScrumMaster you should keep the following points in mind:

  • You want to encourage participation, don’t let anyone sit out quietly.
  • Avoid undue influence on your part. As facilitator, your job is to gather other’s opinion. Save your own until you are sure everyone else has gotten theirs out.
  • Encourage dialogue, but don’t let more vocal and opinionated folks drown out others, especially folks who are hesitant to talk.


Here’s a facilitation technique that might help:
  • Give everyone two index cards.
  • Ask them to write down five things that went well on one card and five things that went poorly on another. You can participate in this.
  • Collect all of the cards
  • On a shared visual space (whiteboard or flip-chart) start writing down responses for what went well.
  • First read the item and ask if this is a new item, a duplicate, or if it amends another item. Let the group guide you, but you might make some suggestions to move it along.
  • Repeat this process for What Didn’t Work Well, creating a new list.
  • At the end, give everyone three Dots. Use stickers or sticky-notes as dots. They get to use these as votes for what to talk about further, perhaps items to adapt what we are doing as a team. People can put all their dots on one item, or spread them around as they see fit, but they have to vote with all three.
  • From there, take your top items and discuss how to adapt your process in the next Sprint.

John

Wednesday, February 27, 2008

Non-Developers on a Scrum Team

I received another e-mail this week on a different topic in Scrum. How do you incorporate some of the traditional non-developer roles into a Scrum team? For example, your Business Analysts?

From: MN
Sent: Tuesday, February 26, 2008 7:26 AM
To: Santiago, John
Subject: Question about SCRUM

How do you handle non-development activities assigned to business analysts in SCRUM?

During our product backlog planning, we identified two non-development activities that we assigned to business analysts. The business analysts have told me that they would prefer to have these tasks managed outside the iteration backlog because they're not development activities.

What do you think?

MN


My response:

The team correctly identified one of the challenges you can run into with Scrum when you introduce non-development staff. Your BA’s are not directly contributing to the current Sprint (they are thinking ahead for future Sprints) and so they don’t really belong on this Sprint’s backlog. Intuitively we know that they are a part of the team, so what to do? Here are a couple of ideas / workarounds:

1) Remove your BA’s from this Product Backlog and all future Sprints altogether. Create a separate backlog just for them and have them organize into Sprints. They are Developers, but they are Developing requirements documents instead of software. This might be a good team for 1 week Sprints since they don’t have builds and such, plus BA’s sometimes need a little extra drive so they don’t get caught in the weeds. The downside here is that they become somewhat disconnected from the rest of the team.

2) Another option is to keep the BA’s work items on your Product Backlog and your current Sprint, but don’t count their hours in any of the Burndowns since they aren’t directly contributing development time to “potentially shippable product.” This keeps them in your status meetings, and you can still check their progress with the rest of the team.

Since Scrum is all about “self-directing teams,” you might take 15 minutes for a team discussion where you lay out the challenges, posit these two solutions, solicit other ideas and have a team vote as to the best idea to try. Your team might have some really good thoughts.

Question About Scrum Velocity

A peer of mine is working on a major software development effort. He is a Software Architect in the role of "ScrumMaster" and is just learning the ropes of Scrum. He works for a very major consulting organization. He sent me this e-mail (excerpt):

From: MN
Sent: Monday, February 25, 2008 8:21 AM
To: Santiago, John
Subject: Question about SCRUM velocity

We've been measuring velocity for three days and, as you suggested, the numbers are relatively low. They are heading in the right direction. Now that we're moving, do you think velocity will improve naturally or do you think I should be doing things to encourage increased performance? If so, what sorts of things might help? The team isn't reporting much in the way of barriers; its more like we underestimated things.

MN

After reviewing his backlog, I had some suggestions about individual challenges some folks might be having, and I also suggested that he check out this great post about Sprint Retrospectives so that he can examine in more detail the Sprint with his team:

http://pragmaticintegration.blogspot.com/2007/01/first-scrum-sprint-retrospective.html

He responded back with the following:

I'm not stuck but vastly underestimated the amount of work. I thought my estimate was pessimistic when I originally made it. Sometimes when you turn over a rock, you find something you wish you hadn't found. As far as I can tell, it absolutely needed to be dealt with and I can't think of a good way to cut the work short.

I think that acknowledgment is critical to understanding how Scrum operates so I sent him the following e-mail:

From: Santiago, John [mailto:John.Santiago@emc.com]
Sent: Wednesday, February 27, 2008 10:52 AM
To: MN
Subject: RE: Question about SCRUM velocity

“There are known knowns. These are things we know that we know.

There are known unknowns. That is to say, there are things we know we don't know. But, there are also unknown unknowns. These are things we don't know we don't know.”

-- Donald Rumsfeld, befuddling the press at a Pentagon briefing

A huge part of software development is learning to recognize what you don’t know. What you will find is that your velocity will tend to account for this over the course of the project… allowing you to fairly accurately predict the impact of the unknown. Assuming that there aren’t monumental roadblocks in your way of course, which is why project managers still need to actively do aggressive risk identification and management even in a Scrum environment to steer around potential roadblocks.

What you must be doing right now to maximize your team’s velocity is to be very aggressive about removing any gold-plating from the project and to make sure the team is focused only on the minimum functionality needed to go-live.