<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mike Cohn&#039;s Blog - Succeeding With Agile® &#187; defect management</title>
	<atom:link href="http://blog.mountaingoatsoftware.com/tag/defects-bugs/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.mountaingoatsoftware.com</link>
	<description>Succeeding With Agile®</description>
	<lastBuildDate>Mon, 06 Feb 2012 18:11:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Should Story Points Be Assigned to A Bug-Fixing Story</title>
		<link>http://blog.mountaingoatsoftware.com/should-story-points-be-assigned-to-a-bug-fixing-story</link>
		<comments>http://blog.mountaingoatsoftware.com/should-story-points-be-assigned-to-a-bug-fixing-story#comments</comments>
		<pubDate>Sun, 14 Nov 2010 02:22:41 +0000</pubDate>
		<dc:creator>Mike Cohn</dc:creator>
				<category><![CDATA[Agile Planning]]></category>
		<category><![CDATA[Agile Estimating]]></category>
		<category><![CDATA[defect management]]></category>
		<category><![CDATA[velocity]]></category>

		<guid isPermaLink="false">http://blog.mountaingoatsoftware.com/?p=908</guid>
		<description><![CDATA[When migrating a product from a traditional approach to an agile one, teams commonly bring along a large database of bugs. These are the result of an inadequate focus on continuously high quality. Shortly into their agile initiative, many teams (and their product owners) decide to aggressively work through the bug backlog. A common approach [...]]]></description>
			<content:encoded><![CDATA[<p>When migrating a product from a traditional approach to an agile one, teams commonly bring along a large database of bugs. These are the result of an inadequate focus on continuously high quality. Shortly into their agile initiative, many teams (and their product owners) decide to aggressively work through the bug backlog. A common approach for doing so is to plan to fix x bugs per sprint or spend y hours on bugs per sprint. Sometimes teams write a user story for this activity such as &#8220;As a user, I want at least 15 bugs fixed&#8221; or &#8220;As a user, I want you to spend about 50 hours this sprint fixing bugs so that the application becomes gradually more high quality.&#8221; Even a team that doesn&#8217;t explicitly write such a user story will usually include a row on its taskboard to make the bug fixing visible and to track it.</p>
<p>In these situations a common question is whether the team should assign some number of story points to the work of fixing these legacy bugs.</p>
<p>If the team does not assign a story point value to this work, velocity will show the amount of &#8220;forward progress&#8221; the team is making each sprint. This has the advantage of making visible that the team is going more slowly through the work than it could if these legacy bugs had been fixed when originally found.</p>
<p>On the other hand, if the team does assign points to the bug-fixing effort, velocity comes to represent the team&#8217;s true capacity to accomplish work. </p>
<p>My usual recommendation is to assign points to the bug fixing. This really achieves the best of both worlds. We are able to see how much work the team is really able to accomplish but also able to look at the historical data and see how much went into the bug-fixing story each sprint. Knowing this can be helpful to a team and its product owner. For example, imagine a situation in which the product owner is considering suspending bug fixing for the next six sprints in order to add a valuable different feature into a release. If we know that the team&#8217;s full historical average velocity was 25 but that 5 points went to bug fixing each sprint, we know that suspending bug fixing for the next six sprints will result in 30 (6*5) more points of new functionality. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mountaingoatsoftware.com/should-story-points-be-assigned-to-a-bug-fixing-story/feed</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>Bugs on the Product Backlog</title>
		<link>http://blog.mountaingoatsoftware.com/bugs-on-the-product-backlog</link>
		<comments>http://blog.mountaingoatsoftware.com/bugs-on-the-product-backlog#comments</comments>
		<pubDate>Tue, 07 Jul 2009 03:17:28 +0000</pubDate>
		<dc:creator>Mike Cohn</dc:creator>
				<category><![CDATA[Sprint Artifacts]]></category>
		<category><![CDATA[Sprinting]]></category>
		<category><![CDATA[defect management]]></category>
		<category><![CDATA[product backlog]]></category>
		<category><![CDATA[user stories]]></category>

		<guid isPermaLink="false">http://blog.mountaingoatsoftware.com/?p=208</guid>
		<description><![CDATA[Ideally bugs belong on the product backlog just like any feature request. But, that would often necessitate a significant change for the rest of the organization so two backlogs are used. ]]></description>
			<content:encoded><![CDATA[<p>A common <a href="http://www.mountaingoatsoftware.com/topics/agile-project-management">agile project management</a> question is whether bugs belong on the product backlog. Before I address that question, let me clarify that the question refers to bugs that are unrelated to functionality being coded during the sprint. If someone finds a bug during a sprint that is related to the features being worked on, the best thing to do is yell, &#8220;Hey, Mike, the boojum code is broken when I&#8230;&#8221;  The second best thing to do is to stick a new task card on the task board saying &#8220;Fix the boojum code; it breaks when&#8230;&#8221;</p>
<p>But what about a bug found today in something the team wrote a month or a year ago? And what about the existing bug database that a team new to agile is almost sure to bring with them?</p>
<p>The ideal situation is to put the bugs right onto the product backlog. To see why, consider the situation from a user&#8217;s perspective: Do you think a user cares whether something is considered a New Feature or a Bug? No. The user just wants the system to behave in some way different from how it behaves today. They don&#8217;t care what it&#8217;s called. </p>
<p>But notice I called this the <i>ideal situation.</i> It isn&#8217;t always practical&#8211;and sometimes for reasons out of the team&#8217;s control or influence. Bug databases have a way of becoming embedded into organizations. The tech support group uses them as a primary way of communicating with the developers. The marketing group uses the bug database in a similar way. This makes it quit the bug database cold turkey. </p>
<p>In these cases, the most common solution teams use is to have two backlogs</p>
<ul>
<li>a product backlog of features</li>
<li>a bug backlog</li>
</ul>
<p>This approach is a bit harder on the team and the product owner but allows an agile team to work more easily with existing processes in the organization. </p>
<p>Sometimes when we make such accommodations to the overall organization, the accommodation can damage or destroy the agile adoption. Allowing everyone to work on five concurrent projects is an example of a crippling accommodation. Accommodating the organization&#8217;s use of a bug database is not crippling. It&#8217;s just a bit more work. </p>
<p>The product owner takes on most of the additional work by having to prioritize two separate work queues and then present them to the team in a more or less consolidated manner (&#8220;My top priorities are the first three items on the product backlog, then bugs #12403 and 12415, then these next two items on the product backlog&#8230;&#8221;). This isn&#8217;t too onerous as the items would need to be prioritized even if all were in one backlog.</p>
<p>So: Ideally bugs belong on the product backlog just like any feature request. But, that would often necessitate a significant change for the rest of the organization so two backlogs are used. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mountaingoatsoftware.com/bugs-on-the-product-backlog/feed</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Working With &#8220;Storyless Tasks&#8221;</title>
		<link>http://blog.mountaingoatsoftware.com/working-with-storyless-tasks</link>
		<comments>http://blog.mountaingoatsoftware.com/working-with-storyless-tasks#comments</comments>
		<pubDate>Wed, 21 May 2008 19:11:35 +0000</pubDate>
		<dc:creator>Mike Cohn</dc:creator>
				<category><![CDATA[Sprinting]]></category>
		<category><![CDATA[defect management]]></category>
		<category><![CDATA[taskboard]]></category>

		<guid isPermaLink="false">http://blog.mountaingoatsoftware.com/?p=28</guid>
		<description><![CDATA[A question I get frequently is what to do with tasks that do not belong to a particular user story or product backlog item. Common examples I&#8217;m asked about include tasks like &#8220;update the build server to use the latest version of FitNesse.&#8221; Fixing bugs from prior iterations are another common example. I&#8217;ve sometimes heard [...]]]></description>
			<content:encoded><![CDATA[<p>A question I get frequently is what to do with tasks that do not belong to a particular user story or product backlog item. Common examples I&rsquo;m asked about include tasks like &ldquo;update the build server to use the latest version of FitNesse.&rdquo; Fixing bugs from prior iterations are another common example. I&rsquo;ve sometimes heard of these tasks that don&#8217;t belong to a particular product backlog item or user story referred to as &ldquo;storyless tasks.&rdquo;</p>
<p>If you&rsquo;ve been to one of my classes, heard me speak at a conference, or just poked around my website you very likely know that I have a strong preference for task boards whenever possible. Usually this means whenever a team is collocated or a few special distributed teams who want to do it. A taskboard will look something like this:</p>
<p><img src="http://www.mountaingoatsoftware.com/system/hidden_asset/file/28/MockedTaskBoard_small.jpg" alt="A generic task board" width="391" height="224" /></p>
<p>To answer the questions about storyless tasks, I want to answer in the context of using a task board. But the essentials of my answer will remain the same even if you are using a tool.</p>
<p>Most teams find it useful to include two additional rows on their task boards:</p>
<ol>
<li>Miscellaneous</li>
<li>Bugs</li>
</ol>
<p>Each other row on those boards represents a user story and the cards are the tasks to implement the story. The Miscellaneous and Bugs rows are essentially the storyless tasks. The Miscellaneous row holds things like &ldquo;update the build server.&rdquo;</p>
<p>I do not normally recommend that a team estimate these items in story points such that they would earn any points toward velocity by completing these tasks. Tasks in the Miscellaneous row are usually tasks that enable the team to perform the other work (or to perform it better or faster). It is reasonably safe that over the long-term any story points you&rsquo;d consider assigning here will average out. This is yet another reason why I always stress that velocity is a useful long-term predictor rather than a predictor of the short-term such as what a team may complete in exactly the next iteration.</p>
<p>I often use a Bugs row on the task board for bugs that are either:</p>
<ul>
<li>discovered during the iteration but unrelated to the stories of the current iteration (bugs related to stories already on the board go into the To Do column of the story&#8217;s row)</li>
<li>planned at the start of the iteration to be done during the iteration</li>
</ul>
<p>If the bugs were planned into the iteration at its start, often a team does put a story point estimate on those bugs. Usually the bugs are estimated together&#8211;that is, &ldquo;if we fix these 6 bugs we&#8217;ll get two story points.&rdquo;  Lots of teams with large defect backlogs plan to do something like bring in 5 points of bugs each iteration. So they estimate those a bit &ldquo;backwards.&rdquo; Rather than grab a stack of bugs and ask, &ldquo;how many points do these 8 bugs represent in total&rdquo; they keep adding bugs into the iteration until they feel they&rsquo;ve brought in the desired number of points worth of bugs.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mountaingoatsoftware.com/working-with-storyless-tasks/feed</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>

