<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Wouter Lagerweij on Medium]]></title>
        <description><![CDATA[Stories by Wouter Lagerweij on Medium]]></description>
        <link>https://medium.com/@wouterla?source=rss-7a0fea491c4f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*6FygkckOp7j58NX4.jpeg</url>
            <title>Stories by Wouter Lagerweij on Medium</title>
            <link>https://medium.com/@wouterla?source=rss-7a0fea491c4f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 14:30:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@wouterla/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The three failures of Continuous Delivery]]></title>
            <link>https://medium.com/@wouterla/the-three-failures-of-continuous-delivery-25339ba13c8f?source=rss-7a0fea491c4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/25339ba13c8f</guid>
            <category><![CDATA[extreme-programming]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[continuous-delivery]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Wouter Lagerweij]]></dc:creator>
            <pubDate>Mon, 04 Jul 2016 09:44:58 GMT</pubDate>
            <atom:updated>2016-09-16T09:04:48.708Z</atom:updated>
            <content:encoded><![CDATA[<p>Everyone seems to want to get on the Continuous Delivery train. Rightfully so, I think. For most, though, it’s not an easy ride. From my work with clients and conversations with other coaches there’s a few common barriers to adoption.</p><p>In the end, the goal should be to be able to react faster to the market. And, to be honest, to finally be in actual control. But in business terms, it’s about cycle times. That’s what allows you to not just react quickly to market circumstances, but to actively probe markets and test product ideas.</p><p>There’s a few common problems companies run into. First, just the basic technical steps to create a fully automated pipeline. Then, getting the tests sorted to a level that gives enough confidence to deploy to production whenever they’ve run. Only when those technical matters have been sorted do we get to the more interesting issues of allowing the business to make use of the possibilities offered by the newfound agility. Those have their own challenges.</p><p>Let’s have a look at the the ways these particular subject give teams trouble. In the hope that being forewarned some will be able to avoid them. I’ll go into more detail on <em>how</em> to avoid them in subsequent posts.</p><h3>Get a pipeline</h3><p>Now, if you’ve paid any attention to the literature, you know that at the core, CD is all about important things like fast improvement cycles, process and a culture of quality. Which is all true, but that probably won’t help you very much. Most development organisations have spent years wrapping themselves in workarounds and buffers, all painstakingly created to prevent detection of their real problems. So taking a relatively small, technical, step in setting up a delivery pipeline at least seems somewhat feasible and will by its nature start showing where some of the real problems lie.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FR-h5qxW4zBzNZO7." /></figure><p>And from what I’ve seen, just trying to set up that pipeline is trouble enough. That’s why I’ve put it as the first barrier to adoption of CD. It may seem easy, but there turn out to be many basic technical challenges. Most teams go through those same pains, and it’s not really surprising. There’s quite a bit of (often new) knowledge and skills involved. And teams usually have to deal with all kinds of legacy code and infrastructure, which doesn’t make it any easier.</p><p>Mostly, what companies find here is that they are missing is skills. And there are a lot of skills involved! A real DevOps approach should include operations knowledge in a team, but even then most of the skills needed to create a modern, fully automated infrastructure are something that takes most organisations a long time to develop.</p><p>It’s not that these things are beyond those teams, it’s just that they’ve not had to deal with them before. Sure, it is easy enough to package your application in a docker container and run it locally, but people are discovering it is quite a different thing to build it out further than that.</p><h3>Testing</h3><p>Testing is the achilles heel of many development teams. Most agile teams work hard to get and keep their code under test. Many fail. The advantage that Continuous Delivery has is that it sets explicit expectations on quality. There’s really no room to skimp on testing if every push you do should end up on production.</p><p>Like was the case for Continuous Integration, testing is what makes a Delivery Pipeline <em>useful</em>. It’s great if you have fully automated deployment, but if you have no way to determine if the code you’re building can be trusted, you’ll still not be in production any sooner.</p><p>There’s different ways teams fail with testing. Insufficient unit testing. Too limited protocol and service testing. A reliance on slow and brittle end-to-end testing. Skipping manual / exploratory testing, that may no longer be a gateway before going into production but is still very much necessary.</p><h3>Business</h3><p>Organisations that manage to get past the first two hurdles have at their disposal a tool that can bring them unimagined business advantages. But even having come this far, existing silo’s, processes and political positioning prevent organisations from profiting from their newly found technical capabilities.</p><p>Symptoms of this can be found in the ignoring, or even complete lack, of market data in deciding on new products and functionality. In continuing a practice of long term planning, without built in checks to see if the intended goals are being achieved. In basing priorities on political influence instead of business goals. And even in a reluctance to test new features with actual users once they’re available behind a feature toggle in production.</p><p>These issues can be the most difficult to address and need to be picked up at the highest management levels. They are attacked with changes in goal setting, reward systems, and organisational structure.</p><h3>Interlocking pieces</h3><p>As with any process, these different elements cannot exist for long without the others to support them. Testing withers if it cannot be run quickly and frequently enough. A delivery pipeline has little value if you have no way to know if you can trust the code that it’s building. And a highly evolved technical team that is not clearly and directly involved with business goals and customers will easily find more fulfilling work elsewhere.</p><p>That’s why my advice is to start in this order, picking up the next challenge as soon as there’s clear progress on the previous. You start building technical skills and then use that base as a flywheel to get a change in the rest of the company going.</p><p><em>Originally published at </em><a href="http://www.lagerweij.com/2016/07/04/the-three-failures-of-continuous-delivery/"><em>www.lagerweij.com</em></a><em> on July 4, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25339ba13c8f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Don’t Refactor. Rebuild. Kinda.]]></title>
            <link>https://medium.com/@wouterla/don-t-refactor-rebuild-kinda-11aa8a2ab080?source=rss-7a0fea491c4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/11aa8a2ab080</guid>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[continuous-delivery]]></category>
            <dc:creator><![CDATA[Wouter Lagerweij]]></dc:creator>
            <pubDate>Sat, 31 Oct 2015 12:02:22 GMT</pubDate>
            <atom:updated>2015-11-03T10:05:06.412Z</atom:updated>
            <content:encoded><![CDATA[<p>I recently had the chance to speak at the wonderful Lean Agile Scotland conference. The conference had a very wide range of subjects being discussed on an amazingly high level: complexity theory, lean thinking, agile methods, and even technical practices!</p><p>I followed a great presentation by Steve Smith on how <a href="http://www.infoq.com/news/2015/10/branching-continuous-integration">the popularity of feature branching strategies make Continuous Integration difficult to impossible</a>. I couldn’t have asked for a better lead in for my own talk.</p><p>Which is about giving up and starting over. Kinda.</p><h3>Learning environments</h3><p>Why? Because, when you really get down to it, refactoring an old piece of junk, sorry, legacy code, is bloody difficult!</p><p>Sure, if you give me a few experienced XP guys, or ‘software craftsmen’, and let us at it, we’ll get it done. But I don’t usually have that luxury. And most organisations don’t.</p><p>When you have a team that is new to the agile development practices, like TDD, refactoring, clean code, etc. then learning that stuff in the context of a big ball of mud is really hard.</p><p>You see, when people start to learn about something like TDD, they do some exercises, read a book, maybe even get a training. They’ll see this kind of code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*yAdh6z2M-2QqL0pN.png" /><figcaption>Example code from Kent Beck’s book: “Test Drive Development: By Example”</figcaption></figure><p>Then they get back to work, and are on their own again, and they’re confronted with something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*2SNxSM_dSHt8MB7r.png" /><figcaption>Code Sample from my post “Code Cleaning: A refactoring example in 50 easy steps”</figcaption></figure><p>And then, when they say that TDD doesn’t work, or that agile won’t work in their ‘real world’ situation we say they didn’t try hard enough. In these circumstances it is very hard to succeed.</p><p>So how can we deal with situations like this? As I mentioned above, an influx of experienced developers that know how to get a legacy system under control is wonderful, but not very likely. Developers that haven’t done that sort of thing before really will need time to gain the necessary skills, and that needs to be done in a more controlled, or controllable, environment. Like a new codebase, started from scratch.</p><p>Easy now, I understand your reluctance! Throwing away everything you’ve built and starting over is pretty much the reverse of the advice we normally give.</p><p>Let me explain using an example.</p><h3>A story from the Real World</h3><p>This is the story of a team that I worked with recently. And this team had the full stack of problems that you encounter in different forms in many organisations.</p><ul><li>A history of takeovers and unrest, reflected in a big messy codebase merging functionality from the different companies bought</li><li>A history of management, with overly controlling architects/tech-leads and indifferent line management</li><li>The team that hadn’t much experience in our beloved technical practices, and had become very careful after being pulled in different directions by a sequence of those controlling tech-leads</li><li>Business stakeholders that hadn’t had new functionality delivered in 18 months, because of the migration/merge work coming out of those takeovers</li></ul><p>The new CTO knew that he’d have to take a different direction. He brought in some people to help, and got me and the excellent Silvester van der Bijl from <a href="http://www.fourscouts.nl/">FourScouts</a> to work with his teams.</p><p>But though this team was very much open to learning new things and actually eager to start refactoring their system, it turned out that there was no realistic way that they were able to do so within the time necessary to gain the speed they needed for the business to start trusting them again.</p><p>We did try. We did coding katas. Paired up on tougher changes. Started a stop-the-line process for any bugs found. Send part of the team to Chet Hendrickson’s excellent Agile Development Skills training. Did proper ‘boy scout rule’ refactoring in all our work. Identified and performed larger, planned, refactorings where needed.</p><p>And there was progress. Unit test coverage went up by 25%! From 1.7% to 2.1%. Unit test run time went down from two hours to 10 minutes. But though improvements in-the-small were starting to happen, the attempts to attack larger design problems in the system were slow and very error prone.</p><p>This all came to a fairly drastic point soon enough due to a delayed delivery of some, theoretically, simple functionality. Higher management started contemplating letting the team go completely and moving to a so-called of-the-shelf product. This would have been bad for the team, but would alse have meant the company was letting go of considerably competitive advantage.</p><p>More drastic action was needed, and the talk turned to doing a rebuild.</p><h3>Rebuilds</h3><p>Now, rebuilds seem to be the most popular type of software projects on the planet! Pretty much anyone in software development has worked on rebuild projects. I worked for one company once, where we built the same product 5 times in four years!</p><p>Developers seem to like rebuilds, because it allows them to lay the blame with previous developers that allowed things to get so messy.</p><p>Management seems to like rebuilds because it allows them to lay the blame with previous management that allowed things to get so messy.</p><p>The business like rebuilds because it allows them to lay the blame with the development team and managers for not improving business results.</p><p>Clean slates all over. Somebody else can be responsible.</p><p>Still, though, if we look at rebuilds, they are not often very successful. Or recommended. Experienced developers will pretty much all say the same thing: don’t do it!</p><p>We know all kinds of reasons why rebuilds fail:</p><ul><li><strong>The original requirements are simply not known.</strong> They may have been written down somewhere, or not. They certainly weren’t sufficiently unambiguous to just take and re-implement. Besides, no one knows which version was built, furthermore:</li><li><strong>The requirements</strong> ‘evolved<strong>’.</strong> Sometimes because we changed our minds. Oftentimes because situations in production simply were not covered. And those certainly were not all written down.</li><li><strong>We have new requirements!</strong> We’re doing a rebuild because we want to (be able to) change this system. There’s a reason we want that change: we don’t like what it does now.</li><li><strong>We no longer need it.</strong> We’ll be spending a lot of time rebuilding functionality that we don’t need anymore. That workaround for that one customer? He’s no longer a customer, or in the meantime has updated his own systems so the workaround is no longer necessary. That 20% of features that no one uses? Let’s double down on that wasted investment!</li><li><strong>Requirements freeze or split focus?</strong> If we’re busy building what we had before, which we don’t want, we won’t be getting the new things we want. We have to wait until the rebuild is done. Or we do try to change the old system, which is slow, and in doing so delay the rebuild and add new requirements to it</li><li><strong>Did we learn?</strong> The new system won’t be any better than the old one, because we won’t have changed our process and culture, so we’ll end up with the same… limited quality.</li></ul><p>Yes, there’s a lot that can go wrong. This team, though, could not go on the way they had been. It would simply take too long before enough ‘technical debt’ was payed off to get this system in a competitive state again. Besides, I’ve done a few rebuilds, and I figured I might know a way to make this work.</p><p>We decided we could avoid those pitfalls. We’d just have to:</p><ul><li>Deliver value from day one</li><li>Don’t rebuild the same mess</li><li>Don’t rebuild using the same process</li><li>Don’t rebuild the same functionality</li></ul><p>Easy!</p><p>Well, possible. Maybe. It would take some doing.</p><h3>The Agile way to rebuild</h3><p>To achieve those goals, we combined tactics in three areas: architectural, business value and process. We knew that those tactics could reinforce each other, like the XP practices do.</p><ul><li>Architectural: The Strangler Pattern</li><li>Business Value: Behaviour Driven Development (BDD)</li><li>Process: Continuous Delivery</li></ul><h3>The Strangler Pattern</h3><p>The architectural tactic we deployed was the strangler pattern. A name <a href="http://www.martinfowler.com/bliki/StranglerApplication.html">coined by Martin Fowler</a> (but then, what wasn’t named by him?) for an approach that allows one to build a new system around an existing one, and then incrementally migrate functionality from the old system to the new one.</p><p>It’s easiest to explain with an example. Say we have an existing, legacy system. In our example (and in the example project) we’ll take the simplest case and discuss a website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*Y0hGvSDOIwukx52C.png" /><figcaption>Strangler pattern 1 — legacy situation</figcaption></figure><p>We insert a new system between the client and the legacy system, and let all requests go through this new system. Initially, the new system doesn’t actually have to do anything, just pass things through. A proxy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*8TQ_gqFWnvaxOjpb.png" /><figcaption>Strangler pattern 2 — introduce proxy</figcaption></figure><p>Then, when we decide we are going to replace a part of the functionality of the website. In this case we’ll simply check if the request if for the page we want to replace or not. If it is, we handle it in our new system, which perhaps uses a new back-end service as well so we don’t accidentally put business logic in a front-end.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*TqzscS1MXfxgQVwD.png" /><figcaption>Strangler pattern 3 — introduce new functionality in wrapping compent</figcaption></figure><p>And, as we’ll be going to use Continuous Delivery, we need the control supplied by <a href="http://martinfowler.com/bliki/FeatureToggle.html">Feature Toggles</a> (see, another thing Martin Fowler named!) that allows us to dynamically decide whether to show the old or the new version of that page. This allows us to push the new page to production, but only having it available to internal users that can then decide whether the rest of the world is ready for it. It also allows us to do a/b testing of the new page against the old one to ensure we don’t have regression in, for instance, conversion rates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*_6M--w7VW_c_Qd9c.png" /><figcaption>Strangler pattern 3 — add a feature toggle</figcaption></figure><p>Which is all there is to this. In fact, the very first instance of this set-up consisted only of about 10 lines of apache configuration. Including the basic toggle.</p><p>This pattern makes it possible to deliver value from the start. And for the team to learn those fancy agile development skills in a context that would grow along with their experience: ‘green field’ components whose complexity starts out low but grows over time.</p><p>There’s also a more psychological component to this. If you’re the developer that lets the unit-test coverage slip from 2.1% to 2.0%, nobody is going to get very excited about that. If you’re the one that lets it slip from 100% to 99.9%…</p><h3>Continuous Delivery (Deployment!)</h3><p>We combined the strangler pattern with the agreement that we would do Continuous Delivery for all the <em>new</em> components. Now, different people have different ideas on what is meant by ‘Continuous Delivery’. For the purposes of this story, I will simplify it to a single statement that makes all the difference:</p><blockquote><strong><em>Every push goes to production</em></strong></blockquote><p>This single agreement makes all the difference. It helps keep the focus of the team, and each developer, on quality. There is no delaying testing. If what you write right now is going to be in production in a few hours, you can’t post-pone testing until tomorrow. You can’t leave testing to someone else. And if you know that it is you and only you (with your pair, of course) that is responsible for not breaking the website, you’ll not just keep that test-coverage at 100%, you’ll make very sure that those tests are actually useful. And you’ll keep looking if there are any type of tests missing.</p><p>Suddenly, those agile development skills get to have a very direct and meaningful role in your work.</p><h3>Behaviour Driven Development</h3><p>Looking back at the reasons most rebuilds fail, we see that most are clustered around the requirements. It is crucial that we know what we’ll be building, that it is what our customers need right now, and that while we’re building it we don’t make the same mistakes and end up with another undocumented system.</p><p>BDD is particularly well suited to address those problems. The process part of it means that you arrange for close collaboration with the customer. In the case of a rewrite, it’s tempting for a Product Owner to say: “Just make sure it works the same as the old system”. It’s very important to make sure that does not happen.</p><p>So we gather the Three Amigo’s, bringing together developers, testers and our product owner. And we ensure that any and all new functionality is discussed between them. And once they agree on how something should work (independently of whether it worked exactly like that before), they write down acceptance scenarios that unambiguously register the outcomes of those discussions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*LbbnhDogjzASOIQ7.png" /></figure><p>Those acceptance scenarios are then automated, using a tool such as Cucumber (or Behat, or FitNesse) by the development team. And the reports for that are published, as living documentation of how the system works, guarantee that is still works as expected.</p><p>Then, we also agree that while specifying the functionality we investigate, where necessary, whether that functionality is actually still needed, or whether there is a good business case for it.</p><p>In the example project, we actually investigated the impact of features on a webpage on the conversion rates of that page, and did not include some of those in the new system because that impact was simply too small.</p><h3>Piece of cake!</h3><p>Now seeing those three rules we used, it might still seem like it’s a very major undertaking to build-up such a new system.</p><p>And it is. This team had to not just build new code. They had to build-up a whole new infrastructure. To do continuous delivery well, they needed to create a new, completely automated infrastructure. That added things to the to-do list such as controlling AWS using ansible, packaging and deploying docker images for our new components, automatically creating new delivery pipelines using jenkins job builder, using a proper build script for php projects (which had not been there), unit, bdd and integration testing infrastructure for php and javascript code, configuring sonarqube, automatically creating smoke-tests for new services, actually <em>having</em> services and figuring out how to do contract and integration testing for them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*NpCTinPQQut3j14T.png" /></figure><p>New technologies applied</p><p>But this team managed to set all that up, including the initial needed functionality, in two weeks time. There really is no excuse to wait in adopting the techniques that will get you to continuous delivery.</p><p>Of course, it took another two weeks to get the page to a point where design and business were happy with it. By that time, the team had a very good start on using those new skills. And they have continued growing in skill level ever since at a very high rate.</p><p>And after the page had been served to 10% of users for a few weeks, they could demo to upper management not just the new functionality, but also the analytics numbers showing big improvements in conversion rates above the old version. And then they could just ask the CEO and marketing manager whether those numbers justified rolling out to more users, and the complete control they had allowed them to fearlessly do that with a push to production <em>during</em> the demo!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*RRuj6ya8PJs2sIlL.png" /><figcaption>Showing the release pipeline during the demo</figcaption></figure><p><em>Originally published at </em><a href="http://www.lagerweij.com/2015/10/30/dont-refactor-rebuild-kinda/"><em>www.lagerweij.com</em></a><em> on October 30, 2015.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=11aa8a2ab080" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Extending the Goal in Scrum]]></title>
            <link>https://medium.com/@wouterla/extending-the-goal-in-scrum-f304de794087?source=rss-7a0fea491c4f------2</link>
            <guid isPermaLink="false">https://medium.com/p/f304de794087</guid>
            <category><![CDATA[scrum]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[lean-enterprise]]></category>
            <dc:creator><![CDATA[Wouter Lagerweij]]></dc:creator>
            <pubDate>Sun, 11 Oct 2015 18:49:20 GMT</pubDate>
            <atom:updated>2015-10-11T19:09:50.764Z</atom:updated>
            <content:encoded><![CDATA[<p>In his post “<a href="http://ronjeffries.com/articles/015-sep/goal-increment/">The Goal in Scrum</a>”, Ron Jeffries makes the case for having a proper, higher-level-than-stories, Sprint Goal. As he says:</p><blockquote><em>This is better, because it allows the wisdom and knowledge of the team to be fully exercised, and because it keeps focus on “what” is needed more than on just how it is to be done.</em></blockquote><p>The point is well made, and true. Many Scrum teams would be much better off when adopting this practice. If you haven’t read the article yet, please <a href="http://ronjeffries.com/articles/015-sep/goal-increment/">do so now</a>. It’s short and to the point, I’ll wait right here.</p><p>I think there are further steps beyond the point that Ron describes, that a good Agile organisation should aspire to. And that help get closer to the XP idea of an on-site customer.</p><p>For an example, let’s take the same team that Ron is talking about, working on some web-shop like domain. I’ll take a point in time a little further out than Ron did. They already learned his lesson, after all. And having done that they have a nice web shop running, with a working checkout flow, and even a wish-list.</p><p>The shop has a reasonable number of visitors, and sells enough to keep everyone employed. But though new functionality is built regularly, growth in terms of revenue is very uneven and not clearly linked to the efforts of the development team. This worries the CEO. He even considers whether changes in the team (bigger/smaller?) are necessary. The PO advises a more considered approach. He goes to the team and tells them about the issue:</p><blockquote><em>“It seems our work sometimes helps us make money, but other times has no effect at all!”</em></blockquote><p>The team has a nice, long, retro discussion about this. They remind the PO that they sometimes have raised questions on the practical use of some of the things they were building. He reminds them that those same things sometimes turned out to work well. And sometimes not. They realise they are missing an important feedback cycle.</p><h4>Step One: Sprint Goal as a Business Test</h4><p>The team is a very competent XP team, and knows that the best way to develop is to pull your assumptions forward. Test first. And change direction if the results tell you it’s not working. They agree with the PO to take a similar approach to the Sprint Goal: Describe the Goal as a test. Not a Unit Test. Not an Acceptance Test. Maybe a Business Test? One of the members talks about hypotheses but is voted down because the international team knows they’ll fail pronouncing that.</p><p>So for the next sprint, the PO and the rest of the team discuss what the Goal should be. The PO tells them that it seems many people put items in their shopping cart, and even go to checkout, but then stop and never go to payment. They agree that the goal should be to find out how to improve the conversion in that part of their sales funnel.</p><h4>Step Two: Information Radiator for Business Goal</h4><p>The first story they agree on is to create a dashboard for the team to see this particular funnel. Easily done with their existing analytics software, but the team hasn’t been looking at that until now.</p><h4>Step Three: Generate ideas that could influence Business Goal</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/186/0*PFp6PxVhat6KCzSq.png" /><figcaption>Overly Simplified Sales Funnel Dashboard</figcaption></figure><p>Then they think of all the reasons why they think someone would stop at that point. Could it be that the total amount frightens them? Should that be in the short view of the shopping cart on the main page? Is it the account creation that stops people going forward? Or the selection of the payment method? One of the team thinks the absence of PayPal as an option could be the problem. They decide they don’t know. And decide to find out.</p><h4>Step Four: Verify Ideas</h4><p>The other stories they create are small changes. And as part of those stories they encode decisions. Decisions that will result in more stories. Or will result in quickly deleting the just built functionality.</p><p>One example is the amount: they make a change in the shopping cart view on the main page that shows the approximate amount. The amount will be calculated client side, not taking into account tax and such which would require much more work. And they build it so that about 20% of their users get this new version while the rest get the old one. And compare the results. They agree up-front that only when this has more than 1% effect in the conversion they will build a more capable version of the feature in the next sprint.</p><p>The team member that likes PayPal gets a go too: let’s just put a ‘Pay with PayPal’ button on there, and see how often its pressed. Again shown to only a small subset of users. And again, only if it results into an increase of 1% or higher, they will build the PayPal integration.</p><h4>Step Five: Build Feature</h4><p>Based on the results of their experiments, which were very easy and quick to build, they create further stories for the backlog. Depending on how much time they had to spent, some of those stories could even be added to the current sprint. They’re proven to be supportive of the Goal. But if that doesn’t happen, it could also be fine to plan them in the next sprint, or later. At least the business value of those stories are very well defined.</p><h4>Report</h4><p>The PO is exited, but also worried a little. They’ll be building partial solutions. He is used to reporting on completed features to management. He works with the Scrum Master and one of the developers on the type of data they’ll be deciding on and creating a good report on them. Then he goes to discuss those reports with management. Management likes the figures, but would like to add a few forecasts on how these figures influence the revenue figures. That is quite easy to do, using the conversion figures along with average order size, and pretty soon they have a report that everyone is happy with.</p><p>The PO now reports on which parts of the sales funnel they’ve worked on, what ideas they testes, which worked and which didn’t, and how they are influencing revenue. Because they employ small experiments, they don’t spend much on the ideas that don’t work. And the report makes very clear that the increases in revenue that occur are significantly less than the stable costs of the team, even if the difference isn’t constant.</p><p>TL:DR</p><p>Defining your Sprint Goal in measurable business terms (such as Pirate Metrics for a web shop) gives more transparency and closer integration between development teams and their stakeholders.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f304de794087" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>