To fix this, planning_board: should be changed to sprint_board: boards.sprint_board(...).
What made it hard for me to figure this out at first was that we don't test the trollolo cleanup-sprint command yet and that the documentation does not explain which board-id is which (sprint/planning) - leaving me wondering if I gave the board ids correctly (the error was just that specific lists could not be found on the given boards.)
I came across this issue when I made the burndown generation part of
cleanup-sprint
optional.The cli uses the provided
--board-id
and--target-board-id
to setup the boards in this way:But the
SprintCleaner
tries to load the boards in a different way:To fix this,
planning_board:
should be changed tosprint_board: boards.sprint_board(...)
.What made it hard for me to figure this out at first was that we don't test the
trollolo cleanup-sprint
command yet and that the documentation does not explain which board-id is which (sprint/planning) - leaving me wondering if I gave the board ids correctly (the error was just that specific lists could not be found on the given boards.)