Skip to content

Instantly share code, notes, and snippets.

@eriknelson
Last active December 4, 2020 19:15
Show Gist options
  • Save eriknelson/2650e2f8f5e3312d0932956ea238a985 to your computer and use it in GitHub Desktop.
Save eriknelson/2650e2f8f5e3312d0932956ea238a985 to your computer and use it in GitHub Desktop.
Sprint retro pseudo code and questions
discoverCurrentSprint()
fetchOpenProjects
sort on num from project name: "MTC Sprint <num>", return highest
[3rd Thurs @ 1pm EST]
startNewSprint()
currentSprint = discoverCurrentSprint()
// Setup a new sprintboard
nextSprint = Create (currentSprint + 1) project
Add all Todo from currentSprint -> nextSprint TODO
Add all InProgress from currentSprint -> nextSprint InProgress
// Snapshot the current sprint to get an "End of Sprint" snapshot to compare
// with the snapshot created at the beginning of the sprint
endOfSprintSnapshot = snapshotCurrentSprint()
// Probably pushes to S3 or somehwere
persistSprintSnapshot(endOfSprintSnapshot)
// Fetch the beginning of sprint snapshot from S3 (for the first run of this)
// can return if this is not found (we're not going to send out a report if
// the initial one doesn't exist)
beginningOfSprintSnapshot = fetchBeginningOfSprintSnapshot(currentSprintNum)
inMemoryReport = processSprintReport(beginningOfSprintSnapshot, endOfSprintSnapshot)
// Render the in-memory structs to google, might need to convert to csv representation
// return a Url pointer to the google sheet
googleReportUrl = renderReport(inMemoryReport) // See bottom for renderReport contents?
// Send report url to reportOwners[]
sendReport(googleReportUrl)
[First Mon @ 1pm EST]
snapshotBeginningOfSprint()
currentSprint = discoverCurrentSprint()
beginningOfSprintSnapshot = snapshotCurrentSprint()
persistSprintSnapshot(beginningOfSprintSnapshot)
////////////////////////////////////////////////////////////
Questions
////////////////////////////////////////////////////////////
* If a new issue is added that is spawned due to the working of one that was
added initially, that new one should have a "Spawned From #<issue>" comment
in it so they're linked in the github UI.
* Is it useful as part of `persistSprintSnapshot` to email out a link to this
data, or at least email a summary of the snapshot?
* What about issues that are removed by the end of the sprint because they
were descoped? Might want to include a sheet tab with this set.
* renderReport contents?
beginningsprint todo issue count
beginningsprint in progress count
(NOTE: should be none in beginningsprint done count)
endsprint todo issue count
endsprint in progress count
endsprint done count
originalIssueSet = issue that was in todo or in progress at beginning of sprint
newOpenIssueSet = endsprint issue in todo or in progress that is not part of
original issue set
// Definitely want a sheet tab of the newOpenIssues with titles, links, and state
! Want % completion of all original issues (how many of the original issues actually
were completed this sprint)
% completion of *all* final issues on sprint board
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment