Report to capture scope creep in iteration

I am looking for a report to capture the “Scope Creep” within an iteration. We are using Scrum on TFS 2013 on premise.

We are constantly asked by management to bring work into an iteration, but are still pressured to meet the commitments made in the planning meetings. Unfortunately it happens often enough that it isn’t a matter of manually tracking 1 or 2 work items per iteration.

Also sometimes we have just underestimated work and it takes longer than we had planned.

I would like to pull a report from TFS or the warehouse/cube which shows when work is brought into an iteration (i.e. new PBI/Bug added) or work on an existing item increases.

I would like to use this report to show management the impacts of bringing in unplanned work and/or use the report as data to improve our estimates.

The official Agile answer is that this simply should not be allowed. Unfortunately, as you are experiencing, the reality is that this often happens. Sometimes this is because business requirements change too rapidly even for short sprints. Sometimes this happens because of pure bad planning on the part of the product owner. And unfortunately sometimes this happens because management has not truly bought in to agile and therefore feels they have the right to tell you to do whatever task whenever. This last case is the hardest to deal with.

First, when accepting a new story into a sprint, it should be pointed just like any other story. All work should be tracked regardless of whether it was added to the sprint the right way (in planning) or the wrong way (at random during the sprint.) You should know your velocity. You should now how many points you agreed to do in planning. If you point new stories, you should be able to tell exactly how many extra points you are required to do. You can therefore report during each sprint how many points over your velocity you were asked to do. At the end of each sprint, you can therefore show that you were late on X,Y,Z because you were asked to do new stories with numbers of points that put you over your velocity.

The second thing you can do is to track how many points of properly planned-at-the-start stories you are able to complete and use that as your velocity when planning. Be very transparent about this. Make it clear to management that you are unable to take as many stories as you otherwise would because you are being forced to do extra, unexpected work.

It is an unfortunate truth that for this to work, you will have to stand up to management and explain that in order for agile to work, agile rules must be followed. This can be hard or impossible to do if management is poor. But it must be clearly explained each time stories are added mid-sprint that you can’t get the benefits of agile without following the rules of agile, and avoiding mid-sprint work is one of the most important ones.

3

Here is a script that I prepared that will look through the workitemhistory view to work out when an iteration changes on a date which is between the iteration start and end date.

It is a work in progress, but it demonstrates that the answer is there if you need it.

DECLARE @iteration VARCHAR(300)
DECLARE @startDate DATETIME
DECLARE @endDate DATETIME

SELECT @iteration = 'TeamProjectTeamSprint 4';

SELECT @startDate = startdate, @endDate = finishDate
FROM DimIteration
WHERE iterationpath = @iteration;

WITH CTE_ALLWorkItemsInIteration
AS (
    SELECT DISTINCT system_id
    FROM WorkItemHistoryView
    WHERE IterationPath = @Iteration
    )
,CTE_WorkItemHistory
AS (
    SELECT *
        ,ROW_NUMBER() OVER (
            PARTITION BY System_Id ORDER BY [System_ChangedDate] ASC
            ) AS Recency
    FROM WorkItemHistoryView
    WHERE system_id IN (
            SELECT system_id
            FROM CTE_ALLWorkItemsInIteration
            )
    )
SELECT CurrentWI.System_id
    ,CurrentWI.System_WorkItemType
    ,CurrentWI.IterationPath AS currentIteration
    ,PreviousWI.IterationPath AS previousIteration
    ,currentwi.system_changeddate
    ,CurrentWI.System_ChangedBy
    ,CurrentWI.System_Title
    ,(
        CASE 
            WHEN CurrentWI.IterationPath = @iteration
                THEN 1
            ELSE 0
            END
        ) AS AddedToIteration
    ,(
        CASE 
            WHEN PreviousWI.IterationPath = @iteration
                THEN 1
            ELSE 0
            END
        ) AS RemovedFromIteration
FROM CTE_WorkItemHistory CurrentWI
LEFT JOIN CTE_WorkItemHistory PreviousWI ON CurrentWI.System_id = PreviousWI.System_id AND CurrentWI.Recency - 1 = PreviousWI.Recency
WHERE (
        CurrentWI.IterationPath <> PreviousWI.IterationPath
        OR PreviousWI.IterationPath IS NULL
        )
    AND (
        CurrentWI.IterationPath = @iteration
        OR PreviousWI.IterationPath = @iteration
        )
    AND (CurrentWI.System_ChangedDate BETWEEN @startDate
         AND @endDate)

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật