Sprinting Agile
Sprinting Agile
Agile
CMT Mexico
60mins
Iteratively and incrementally develop potentially deployable product increments, increasing efficiency and quality through frequent feedback and improvement loops
Refine backlog (PBR) and roadmap Conduct agile ceremonies/events Close sprint
► Manage product & SPRINT BACKLOG ► Conduct DAILY STAND-UP ► Perform SPRINT RETROSPECTIVE
► (Continue to) Define/Refine user stories ► Perform SPRINT REVIEW
► Perform SCRUM OF SCRUMS
► Refine roadmap ► Calculate actual velocity
Non-sprinted activities
Deliver data conversion Prepare for release testing (system integration/ ► Manage Integrated Work Plan
► Develop specifications
► Develop code integration, mock conversion, parallel, regression,
► Conduct technical unit and functional object tests performance and stress, infrastructure)
► Develop test approaches, cases & plan ► Track Value Realization
► Identify test data
Prepare for production deployment Plan hyper care Plan service delivery
► Define release go/no-go criteria ► Develop to-be service delivery approach ► Perform service delivery framework assessment
► Develop deployment plan ► Develop service delivery transition plan ► Develop to-be service delivery approach
► Define batch jobs
► Develop batch job schedule ► Document service delivery requirements
► Develop service delivery recommendations & resource estimate
3
Sample ceremony and meeting cadence
Sun Mon Tues Wed Thurs Fri Sat
Sprint day 1 Sprint day 2 Sprint day 3
Sprint Planning Daily standup Daily standup
Post Daily Standup Post Daily Standup
Product Backlog
Refinement
Sprint day 4 Sprint day 5 Sprint day 6 Sprint day 7 Sprint day 8
Daily standup Daily standup Daily standup Daily standup Daily standup
Post Daily Standup Post Daily Standup Post Daily Standup Post Daily Standup Post Daily Standup
Scrum of Scrums Product Backlog Scrum of Scrums Product Backlog
Refinement Refinement
Prep for Sprint
Review
• Velocity is the estimated total number of story points a development team can be expected
to complete in a sprint.
• Velocity is calculated as the rolling average of the velocity from the previous 3 sprints.
Release 1
70
59 60
60
50
44
42
40
30
20
15
Sprint 6 estimated velocity:
10
(42 + 59 + 60) / 3 = 53.6
0
Sprint 1 Sprint 2 Sprint 3 Sprint 4 Sprint 5 Sprint 6
Identify and estimate high-priority user stories in the product backlog using points (planning poker)
• Make sure these user stories are small enough to be completed within the sprint
• Avoid partially committing to user stories, as that will lead to technical debt
Calculate the development team’s capacity using the capacity tracker or other preferred method or tool
• Development team capacity should account for holidays, meetings, team member availability to support the team, or other
special events that will limit a team member’s availability to work during the sprint
• Estimate (in hours) the amount of time required to complete each task
• Make sure tasks are small enough to be completed within a day (8 ideal hours)
Add up the task estimates for the selected user story and check whether the team has the capacity to complete the wok during the sprint
Repeat this exercise for the high priority user stories in the backlog until the team runs out of available capacity for the sprint
Use the user story task breakdown and estimated hours to balance sprint scope against capacity until you have
© 2018. For information, contact Deloitte Touche Tohmatsu 7
Consider using a range for new development teams since the team’s performance is unknown. Below are some suggested
multipliers.
Assuming the team’s capacity remains constant for the next 2-3 sprints, a forecast of the team’s velocity can be derived by
multiplying sprint 1 velocity with the low and high multipliers (see table below) and then taking the average of these
results.
Sprints
Completed
Low Multiplier High Multiplier Example
1 0.6 1.60 If a team achieved a velocity of 30 points in
2 0.8 1.25 sprint 1, then the forecasted velocity for
3 0.85 1.15 sprint 2 is:
4 or more 0.9 1.10
a. Velocity * Low Multiplier
Source: Agile Estimation and Planning (Mike Cohn)
30 * 0.6 = 18
b. Velocity * High Multiplier
30 * 1.60 = 48
c. Forecast for sprint 2
(18 + 48) / 2 = 33 story
points
© 2018. For information, contact Deloitte Touche Tohmatsu 8
Estimating Capacity/Velocity
How to forecast future sprint’s velocity with limited historical data (for an existing
development team)?
With an existing development team, the team’s performance is known, therefore multipliers are not needed.
Assuming the team has worked together in the past and is very familiar with the work to be performed or the team is about
to start a similar work stream within the same project (same type of work), then calculate the team’s focus factor after
sprint 1 and use it to forecast future sprint story points.
Example
If the team achieved a velocity of 30 points in sprint 1 and a capacity of 600 hrs, a forecast
of the team’s velocity can be derived by multiplying sprint 1 velocity with the team’s focus
factor.
• Product Owner and the development team work • Scrum team decomposes User Stories into tasks.
together to establish sprint goals.
• Scrum team estimates the effort to complete each
• Scrum Master will confirm development team’s task in hours.
capacity and present the velocity to be used for
this sprint. • Review total estimated hours against development
team capacity.
• Product Owner and the development team select
User Stories from Product Backlog based on • Scrum team confirms that all stories can be
priority and sprint goals. Only “Ready” stories are completed as a part of the sprint.
considered (meet the scrum team’s DoR).
There should be a commitment by the scrum team – the scrum team estimates and prioritizes
© 2019. For information, contact Deloitte Touche Tohmatsu 11
Past Velocity
Sprint 16 Velocity = 34 Capacity = 540
High Development Test Sprint Velocity
Sprint PO
Backlog IP Done IP Completed accepted 15 40
14 35
13 37
1 5 3 2 2
5 3 3 Sprint Burndown
3
Priority
Low
DoR DoD
Impediment List
Team Improvements
IP Done
Defect
45
• An “ideal” work line (the straight line from max hours down to 40
30
• When the remaining work line is above the ideal line, the team is 25
behind schedule 20
15
10
0
Day1 Day2 Day3 Day4 Day5 Day6 Day7 Day8 Day9 Day10
© 2019. For information, contact Deloitte Touche Tohmatsu 13
Agile
technique
Managing the sprint
What story do Burndown Charts tell?
Great team. The team had Too Late. Team over- Too Early. Team under- Team not updating
a late start and was able to estimated capacity or estimated capacity or over remaining hours, refusing
get back on track. underestimated user stories estimated user stories and process, or not actively
and did not complete work. finished early. managing/tracking work.
• The Daily Stand-up is a ceremony that occurs every day of the Sprint,
What is the except for the first and last days of the Sprint
Daily Stand-up?
• It is used to synchronize agile team members and their work
• Guideline is 15 minutes
• Experienced co-located agile teams may take less time, distributed
How long is the
teams may need more
Daily Stand-up?
• The Daily Stand-up occurs at the same place and time everyday for
consistency
• Early in a project, the SoS can be 30-60 minutes, twice a week – don’t try to
solve all issues, but have some conversation, determine action items, and
How long is a move on
Scrum of Scrums?
• Monitor and adjust the SoS schedule as needed depending upon process,
integration, and alignment variances
© 2019. For information, contact Deloitte Touche Tohmatsu 16
Typical hybrid agile project team structure
Agile Team 2
Core Team
Sales and
Distribution Focus on program leadership,
backlog management, planning
and decision making, guiding
principles
• Attendance may vary, but before Sprint Planning, during the PBR, the
entire agile team should have previewed the User Stories and estimated
them
Who attends a PBR?
• SMEs may spend a significant amount of time outside the PBR working on
developing Features and User Stories, and use the PBR as a review with
the agile team
The Sprint Review should NOT be the first time the Product Owner sees the done User Stories
Agile
technique
Sprint Retrospective
Ceremony
Like Learn
Things that you Things you have
have enjoyed learned that the
agile team should
be aware of
The objective of a retrospective is to gather data about what happened since the last retrospective,
© 2018. For information, contact Deloitte Touche Tohmatsu 21
Conduct the
Apply capacity when
ceremonies, as
planning and
scheduled, with full
managing your
scrum team
roadmap and your
participation, and per
sprint backlogs
guidelines
© 2019. For information, contact Deloitte Touche Tohmatsu 22
30mins
Deploy
Accelerate future skillsets Deploy production solution
► Deploy & evaluate ► Deliver data integration & conversion solution ► Conduct Production Deployment Go/No-Go
learning ► Produce software build ► Execute production deployment
► Execute dress rehearsal ► Perform Legacy System Decommissioning
24
Testing guidelines
Apply the agile mindset
Agile
Mature agile
Multi- supports Ask quality
Embed projects apply Automate to
functional aspects of and test-
quality in to Continuous Apply code DevOps increase
team Test Driven focused
the process testing – review principles agility...Be
members are Development questions in
from the testing in concepts to that enable strategic in
all through PBR and
start small batches documentation earlier automation
responsible acceptance Sprint
integration approach
for quality criteria in user Planning
testing
stories
Together the
Have dedicated
Start test Development Team
testing post
preparations early; and Product Owner
sprinting/pre-release
think about strategy nail down acceptance
AND do early system
and automation criteria when writing
and integration
approach during user stories to
testing in parallel to
Discovery leverage for testing
sprinting
purposes
Technical/functional
Ensure testing unit test with Product
expectations are Owner acceptance is
documented in DoD completed during
sprints
Release
Vision, Plan & Discovery Sprint 0 Sprint cycles Test, Deploy, Stabilize, Operate & Optimize/Innovate
Phase names and terminology may differ between methods and service
Activity: Class discussion – Preparing for release
As we close out our sprints and move into release what changes should we
prepare for?
- Maintain the agile mindset - Not doing agile ceremonies, cadences changing –
replacement for scrum of scrums?
- Changing roles (e.g., no more Scrum Master;
Product Owner might have different - Migration from scrum teams to more traditional
expectations) organization (functional, technical, change,
testing, etc.)
- Project Management activities will need to shift
- Processes to ensure continued stakeholder
- Will manage solely to a schedule and a plan engagement
for the remaining phases
- Being ready to conduct System Integration Test
- Traditional change control (SIT)
- Scope is locked down
- Defect management
28
60mins
Additional topics
Break Hardening/Stabilization
A planned break between sprints An additional sprint run at the completion of a set of
sprints; focuses on integration testing (ideally with
real data), defect resolution, and reducing technical
debt
Use: Use:
To take a break from sprinting to catch up – typically on Used to ensure overall solution quality prior to a
design work and/or PBR and planning release and provides an opportunity to optimize the
technical solution as the solution and design evolves
Recommendation: Recommendation:
• Consider a 1 week “break” mid-way through your planned • Closely manage expectations – many agile
sprints. Focus on eliminating open design issues, practitioners disagree about use of hardening
confirming adequate user stories are ready, and validating sprints – some see this as saying “I didn’t do it
MVP and effort estimates for ready stories. right the first time, so now I can fix it”
• Output should include refined backlog for remaining • Manage Pre-integration test cycles and System
sprints. Integration Test in IWP
Find additional information on this topic in the Change agile playbook and in podcasts from The Leadership Lounge.
33
Applying agile techniques our way for OCM
This is a sample of OCM activities and deliverables
Release
Vision, Plan & Discovery Sprint 0 Sprint cycles Test, Deploy, Stabilize, Operate & Optimize/Innovate
• Initial Change Impact Sprint Sprint Sprint Sprint Sprint • Execute the Change Campaign
Cycle Cycle Cycle Cycle Cycle
Assessment • Deploy and Evaluate Learning
• Leadership Engagement
Approach • Develop communication materials and
• Organizational Change Execute Change Campaign
Management Strategy • Refine Change Impacts Assessment
• Business Advocate Network • Develop Learning Curriculum/
Approach Outlines/ Content Dev. Plan/
• Learning Approach Storyboard/ Courseware/ Simulations
OCM learning development is dependent upon working
solution components being available; development of
OCM learning deliverables may lag one sprint behind.
Basic OCM activities don’t change – but HOW you approach them and WHEN you complete them is different.
• Identify impacts for each sprint cycle and focus OCM effort only on those (e.g. assess only those stakeholders impacted in
the sprint cycle)
• Certain activities may be delayed until closer to the project’s end
• OCM activities must be prioritized and focused – there is less time to move from awareness to buy-in prior to each release
• ©Consider how OCM team members will integrate and ramped up on the project team – will they participate in sprint
2019. For information, contact Deloitte Touche Tohmatsu 34
A scrum master is a servant leader. A functional lead tends to be a command and control role.
© 2019. For information, contact Deloitte Touche Tohmatsu 36
What training and procedures should be considered when the functional leads are the scrum masters?
Roles and responsibilities, continued
Balancing PMO & scrum team empowerment
Scrum
PMO
team
• Understand and plan your epic/ feature/ user • It’s possible that a feature can be implemented in
story structure appropriately a single user story (example: minor change to
pre-configured/transfer solution process to
− Think of features as “big user stories”
maintain some master data field)
− Many projects will decompose epics and
• If a user story is too big:
features by business processes - projects that
use IndustryPrint might have L2 process (Epic) − Configuration story – decompose process into
and L3 process (Feature) sub-processes or groups of sub-processes to
allow guideline to be met
• The majority of the work done in sprints is focused
on developing working software – which means − Development story – decompose development
either configuration (if applicable) or coding object into portions of the required
(FWRICE objects, custom development, etc.) and functionality – might be required for very
testing of the developed working software complex objects
o Proof of Concept / shell
o + some functionality
o + remaining functionality
Most user stories require decomposition as business processes are explored and
new scenarios arise. Use these techniques to decompose user stories.
Find additional
information on this
topic in your method,
under the Define
Workflow Steps System Qualities
User Stories task, or
reference the User
Story Writing
Business Rule Variations Operations Guidelines
Development Aid.
• Overall schedule status (monitor critical path and progress against baseline)
• Deliverables (monitor each contractual deliverable through agreed upon
process)
Traditional • Project Controls (monitor issues, risks, changes, decisions, and senior action
items)
• Testing and defect management
• Burndown
Agile • Cumulative Flow
• Impediment List
Completed in Past
Total Under Refinement Approved Backlog In Current Sprint
Teams Owner Sprints
# Δ # Δ % # Δ % # Δ % # Δ %
<SM & PO
Team A 65 -1 13 24 -1 13 37% 4 0 0 6% 18 0 0 28% 19 0 29%
names>
<SM & PO
Team B 81 0 4 0 0 0 0% 10 0 4 12% 10 0 0 12% 61 0 75%
names>
<SM & PO
Team C 226 1 6 12 0 5 5% 31 2 1 14% 35 -1 0 15% 148 0 65%
names>
<SM & PO
Team D 228 -1 17 59 -2 17 26% 7 2 0 3% 39 -1 0 17% 123 0 54%
names>
<SM & PO
Team E 216 2 18 49 2 15 23% 19 0 3 9% 42 0 0 19% 106 0 49%
names>
<SM & PO
Team F 191 0 0 1 0 0 1% 53 3 0 28% 31 -3 0 16% 106 0 55%
names>
<SM & PO
Team G 81 0 22 25 0 3 31% 11 0 0 14% 41 0 19 51% 4 0 5%
names>
<SM & PO
Team H 53 0 1 52 0 1 98% 0 0 0 0% 1 0 0 2% 0 0 0%
names>
Workstream-I Build Stories
1141 1 81 222 -1 54 19% 135 7 8 12% 217 -5 19 19% 567 0 50%
Sub-total:
Team X <SM & PO names> 147 0 10 11 0 8 7% 9 0 0 6% 15 0 2 10% 112 0 76%
Team Y <SM & PO names> 200 0 14 7 0 2 4% 6 0 6 3% 33 0 6 17% 154 0 77%
Team Z <SM & PO names> 343 0 45 97 0 39 28% 16 0 2 5% 78 0 4 23% 152 0 44%
Workstream-II Build Stories
690 0 69 115 0 49 17% 31 0 8 4% 126 0 12 18% 418 0 61%
Sub-total:
Build Stories Total: 1831 1 150 337 -1 103 18% 166 7 16 9% 343 -5 31 19% 985 0 54%
© 2019. For information, contact Deloitte Touche Tohmatsu # Count of stories Δ Delta change from previous report Blocked stories % Percentage of total 44
Status report sample, continued
Under Refinement status: Status of Stories in future sprints
that are pending Definition of Ready (DOR)
Under Refinement
Total New In Progress Ready for Tech Review Ready for Sign-off Rework
Sprint Team # Δ # Δ % # Δ % # Δ % # Δ % # Δ %
Team A 24 -1 13 0 -1 0 0% 16 -2 9 67% 8 2 4 33% 0 0 0 0% 0 0 0 0%
Team B 0 0 0 0 0 0 0% 0 0 0 0% 0 0 0 0% 0 0 0 0% 0 0 0 0%
Team C 12 0 5 1 0 1 8% 0 0 0 0% 9 0 4 75% 2 0 0 17% 0 0 0 0%
Team D 59 -2 17 2 0 0 3% 41 1 7 69% 11 -6 10 19% 5 3 0 8% 0 0 0 0%
Team E 49 2 15 1 0 0 2% 12 0 4 24% 19 -1 11 39% 17 3 0 35% 0 0 0 0%
Team F 1 0 0 0 0 0 0% 1 0 0 100% 0 0 0 0% 0 0 0 0% 0 0 0 0%
Team G 25 0 3 1 0 0 4% 20 0 2 80% 2 0 1 8% 2 0 0 8% 0 0 0 0%
Team H 52 0 1 51 0 0 98% 1 0 1 2% 0 0 0 0% 0 0 0 0% 0 0 0 0%
Workstream-I Build Stories Sub-
222 -1 54 56 -1 1 25% 91 -1 23 41% 49 -5 30 22% 26 6 0 12% 0 0 0 0%
total:
Team X 11 0 8 1 0 0 9% 0 0 0 0% 10 0 8 91% 0 0 0 0% 0 0 0 0%
Team Y 7 0 2 1 0 0 14% 2 0 1 29% 2 -1 0 29% 2 1 1 29% 0 0 0 0%
Team Z 97 0 39 3 -2 1 3% 31 -1 21 32% 54 -1 17 56% 9 4 0 9% 0 0 0 0%
Workstream-II Build Stories Sub-
115 0 49 5 -2 1 4% 33 -1 22 29% 66 -2 25 57% 11 5 1 10% 0 0 0 0%
total:
Build Stories Total: 337 -1 103 61 -3 2 18% 124 -2 45 37% 115 -7 55 34% 37 11 1 11% 0 0 0 0%
© 2019. For information, contact Deloitte Touche Tohmatsu # Count of stories Δ Delta change from previous report Blocked stories % Percentage of total 45
Status report sample, continued
Current Sprint summary status: Days remaining until end
of sprint: <count of remaining days>
© 2019. For information, contact Deloitte Touche Tohmatsu # Count of stories Δ Delta change from previous report Blocked stories % Percentage of total 46
Status report sample, continued
Scrum team Build & Test status
User
Stories:
ID Story Title
Under
Refineme
Not
In Dev In FUT In BAT Approved Blocked Reason
Started
nt
81663Tax exemption Certs
81672Tax exemption categories
81673Tax indirect--contracting entity
81678indirect taxes--Exemption before invoices
81665Indirect tax--searching exempt certificates
81686Run and analyze intercompany reconciliation report
81664AR Reconciliation to Product Revenue
81706Revenue by Location
81709Indirect tax—intercompany
81675indirect tax--date of certificate
70691indirect tax--tax register Unsuccessful Test Demo – push to next sprint
70080Ability to report VAT by VAT group Reporting for VAT group needs additional fields
70075Bad debts
66814Transfer pricing Invoice Tax Calculation
66815Journal Entry Approval Workflow
66812Month End Labor Accrual
Open Defects:
AgM
ALM ID Defect Title
ID
11649 276 Missing Fields and headers incorrect.
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000
Column
Labels
Sprint 4 Sprint 5 Sprint 6 Sprint 7 Total Total Total
Count: Original Capacity:
Estimate:
Row Labels Count: Original Capacity: Count: Original Capacity: Count: Original Capacity: Count: Original Capacity:
Estimate: Estimate: Estimate: Estimate:
Worksteam I
Team X 29 323 408 5 189 389 22 267 384 1 10 391 57 789 1,572
Team Y 52 609 556 34 365 437 1 1 449 8 75 461 95 1,050 1,903
Team Z 69 678 851 84 757 785 81 862 956 32 364 715 266 2,661 3,307
Worksteam
II
Team A 46 387 364 34 297 280 32 300 294 18 169 266 130 1,153 1,204
Team B 9 130 0 40 176 0 6 118 0 2 0 0 57 424 0
Team C 39 625 555 53 647 616 55 708 672 19 265 616 166 2,245 2,459
Team D 23 106 225 17 149 225 11 86 225 1 7 225 52 348 900
Team E 38 530 535 48 570 637 51 650 679 13 315 693 150 2,065 2,544
Team G 19 189 180 23 296 238 23 284 266 0 0 210 65 769 894
Team H 36 372 390 51 388 350 36 305 322 0 0 350 123 1,065 1,412
Grand Total 360 3,949 4,064 389 3,834 3,957 318 3,581 4,247 94 1,205 3,927 1,161 12,569 16,195
© 2019. For information, contact Deloitte Touche Tohmatsu 48
Scaled Agile Framework (SAFe)
A way of thinking and acting that builds on Agile and Lean Thinking to bring
additional speed to deliver technology with greater stability, quality and
security.
52
Where do agile and DevOps fit in the software delivery lifecycle?
DevOps practices extend agile practices and accelerate later phases of a project.
Prioritization of features that drives the most + Optimizes end-to-end technology value
business value stream
Embrace change to keep pace with dynamic + Continuous validation of quality from the
business environments point of creation to operation
1+ 1 = 3 54
Good reads
External resources