Important: ZenHub Sprints are a ZenHub entity separate from GitHub Milestones
Changes made to GitHub Milestones will not be synchronized with Sprints. GitHub Milestones will still exist however we recommend checking out Sprints as they function similar to Milestones with a few added benefits.
What are ZenHub Sprints?
In Agile-Scrum, sprints are a fixed length of time (typically two weeks) during which an agreed-upon chunk of work is completed and ready to be shipped. ZenHub Sprints allow teams to group Issues together that will be completed within this timeframe. With ZenHub Sprints, teams can build automatic, scheduled sprints that will create and close by themselves. Sprints are created at the Workspace level.
|Key differences between Milestones and Sprints|
|GitHub Milestones||ZenHub Sprints|
|One Issue can belong to one Milestone only||One Issue can live in multiple Sprints|
|Milestones are native to GitHub||Sprints are native to ZenHub and are not tied to GitHub|
|Milestones are created and closed manually for each sprint. You manually move incomplete Issues to the next Sprint.||New Sprints are created automatically when others close. You have the option to automatically move incomplete Issues to the next Sprint|
Setting up Sprints in ZenHub
To set up ZenHub Sprints for your team, select Create... on the sidebar or the green + icon located in the top right corner of your Workspace then select Set up Sprints for your team
This will open the Sprint creation modal which allows you to:
1. Choose the start and end date for your first sprint using the calendar. When selecting a start and end date for your current sprint, ZenHub will also automatically create two future sprints. You will see how often it cycles along with the written dates for all known Sprints:
Note: To ensure your Sprints run consecutively without any gaps, make sure your start date is ahead of your end date. Example: To set up a one-week sprint schedule that starts on a Tuesday, set your start date as Tuesday and end date as Monday:
When the current Sprint closes, the next Sprint becomes the current Sprint and a new Sprint is added after the furthest Sprint.
2. Move unfinished Issues to the next Sprint: By toggling this option on, when a Sprint completes (passes its end-date), all Issues assigned to the Sprint that have not yet been closed will automatically move to the next Sprint. With ZenHub Sprints, Issues can live in multiple Sprints. When unfinished or incomplete Issues move from your past Sprint to the new current Sprint, the Issues will continue to exist in the Sprint they are being moved from (i.e these Issues will belong to two Sprints)
3. Automatically build new Sprints from the backlog: By toggling this option on, ZenHub will automatically build your Sprints. A suggested average velocity from your previous Sprints will be displayed. You can adjust the number of story points you'd like added to your next Sprint and the pipeline you'd like Issues added from. ZenHub will automatically add Issues from the top of this pipeline to your Sprint.
Tip: We'd recommend running backlog refinement meetings to ensure your backlog is in order. Your backlog should be prioritized with the most important Issues at the top. These Issues should have clear acceptance criteria and be estimated. Learn more here
Issues that are not already estimated, will be counted with the value of 2 Story Points when being added into the Sprint from your backlog pipeline.
Changing the Sprint Schedule
To change the Sprint duration and schedule, select the green + icon located in the top right of your Workspace and select Modify recurring Sprints.
Above the calendar, you'll see the option Change Sprint schedule From here you can select your new dates:
Adding Issues to your Sprint
To add Issues to your Sprint, head to your ZenHub board. From here, you will able to use multi-action or a combination of filtering and multi-action to add the desired Issues to your Sprint. This is a great way to eliminate the onerous process of performing certain actions over and over again.
For example, your team may dedicate a sprint to tackling bugs. The team can filter the Board by the bug label, select all Issues, and choose the option Set Sprint.
When viewing Issue cards on the Board, you can see the Sprint your Issues belong to as they have a lightning strike icon next to the Sprint name:
Filtering by Sprint
When viewing your Board, you can filter by Sprint to only view the Issues that have been added to your ZenHub Sprints:
Burndown report: The Burndown report is split into 2 sections: Sprints and Milestones. Each page functions the same as the other except Milestones will only show GitHub Milestone data and Sprints will only show ZenHub Sprint data. Burndown charts break down your Completed Issues, Open Issues and any Incomplete Issues within the Sprint. Incomplete means that an Issue was completed out of scope of the Sprint or milestone. So an issue completed after the end date.
Velocity report: The Velocity report continues to function the same as it does today—with Milestones and Sprints side-by-side—with one small change. Milestones will still be shown per repo while Sprints are per Workspace so they will always show their total value, disregarding the repo filter.
Since Sprints are ZenHub data, Burndown charts and the Velocity report will load up to 15x faster