debian-mirror-gitlab/doc/user/project/milestones/burndown_and_burnup_charts.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

151 lines
6.5 KiB
Markdown
Raw Normal View History

2021-01-03 14:25:43 +05:30
---
type: reference
stage: Plan
group: Project Management
2021-02-22 17:27:13 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
2021-01-03 14:25:43 +05:30
---
2021-03-11 19:13:27 +05:30
# Burndown and burnup charts **(PREMIUM)**
2021-01-03 14:25:43 +05:30
[Burndown](#burndown-charts) and [burnup](#burnup-charts) charts show the progress of completing a milestone.
2021-01-29 00:20:46 +05:30
![burndown and burnup chart](img/burndown_and_burnup_charts_v13_6.png)
2021-01-03 14:25:43 +05:30
2022-04-04 11:22:00 +05:30
## Burndown charts
2021-01-03 14:25:43 +05:30
2021-03-11 19:13:27 +05:30
> - [Added](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6495) to GitLab 11.2 for group milestones.
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/6903) [fixed burndown charts](#fixed-burndown-charts) in GitLab 13.6.
> - Moved to GitLab Premium in 13.9.
2021-01-03 14:25:43 +05:30
Burndown charts show the number of issues over the course of a milestone.
2021-01-29 00:20:46 +05:30
![burndown chart](img/burndown_chart_v13_6.png)
2021-01-03 14:25:43 +05:30
At a glance, you see the current state for the completion a given milestone.
Without them, you would have to organize the data from the milestone and plot it
yourself to have the same sense of progress.
GitLab plots it for you and presents it in a clear and beautiful chart.
<i class="fa fa-youtube-play youtube" aria-hidden="true"></i>
For an overview, check the video demonstration on [Mapping work versus time with burndown charts](https://www.youtube.com/watch?v=zJU2MuRChzs).
To view a project's burndown chart:
1. In a project, navigate to **Issues > Milestones**.
1. Select a milestone from the list.
To view a group's burndown chart:
1. In a group, navigate to **Issues > Milestones**.
1. Select a milestone from the list.
### Use cases for burndown charts
Burndown charts are generally used for tracking and analyzing the completion of
a milestone. Therefore, their use cases are tied to the
[use you are assigning your milestone to](index.md).
For example, suppose you lead a team of developers in a large company,
and you follow this workflow:
- Your company set the goal for the quarter to deliver 10 new features for your app
in the upcoming major release.
- You create a milestone, and remind your team to assign that milestone to every new issue
and merge request that's part of the launch of your app.
- Every week, you open the milestone, visualize the progress, identify the gaps,
and help your team to get their work done.
- Every month, you check in with your supervisor, and show the progress of that milestone
from the burndown chart.
- By the end of the quarter, your team successfully delivered 100% of that milestone, as
it was taken care of closely throughout the whole quarter.
### How burndown charts work
A burndown chart is available for every project or group milestone that has been attributed a **start
date** and a **due date**.
2021-02-22 17:27:13 +05:30
NOTE:
2021-01-03 14:25:43 +05:30
You're able to [promote project](index.md#promoting-project-milestones-to-group-milestones) to group milestones and still see the **burndown chart** for them, respecting license limitations.
The chart indicates the project's progress throughout that milestone (for issues assigned to it).
In particular, it shows how many issues were or are still open for a given day in the
milestone's corresponding period.
2022-04-04 11:22:00 +05:30
You can also toggle the burndown chart to display the
[cumulative open issue weight](#switch-between-number-of-issues-and-issue-weight) for a given day.
2021-01-03 14:25:43 +05:30
### Fixed burndown charts
2021-01-29 00:20:46 +05:30
For milestones created before GitLab 13.6, burndown charts have an additional toggle to
2021-01-03 14:25:43 +05:30
switch between Legacy and Fixed views.
| Legacy | Fixed |
| ----- | ----- |
2021-01-29 00:20:46 +05:30
| ![Legacy burndown chart](img/burndown_chart_legacy_v13_6.png) | ![Fixed burndown chart, showing a jump when a lot of issues were added to the milestone](img/burndown_chart_fixed_v13_6.png) |
2021-01-03 14:25:43 +05:30
**Fixed burndown** charts track the full history of milestone activity, from its creation until the
milestone expires. After the milestone due date passes, issues removed from the milestone no longer
affect the chart.
**Legacy burndown** charts track when issues were created and when they were last closed, not their
full history. For each day, a legacy burndown chart takes the number of open issues and the issues
created that day, and subtracts the number of issues closed that day.
Issues that were created and assigned a milestone before its start date (and remain open as of the
start date) are considered as having been opened on the start date.
Therefore, when the milestone start date is changed, the number of opened issues on each day may
change.
Reopened issues are considered as having been opened on the day after they were last closed.
2022-04-04 11:22:00 +05:30
## Burnup charts
2021-01-03 14:25:43 +05:30
2021-03-11 19:13:27 +05:30
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/6903) in GitLab 13.6.
> - [Feature flag removed](https://gitlab.com/gitlab-org/gitlab/-/issues/268350) in GitLab 13.7.
> - Moved to GitLab Premium in 13.9.
2021-01-03 14:25:43 +05:30
Burnup charts show the assigned and completed work for a milestone.
2021-01-29 00:20:46 +05:30
![burnup chart](img/burnup_chart_v13_6.png)
2021-01-03 14:25:43 +05:30
To view a project's burnup chart:
1. In a project, navigate to **Issues > Milestones**.
1. Select a milestone from the list.
To view a group's burnup chart:
1. In a group, navigate to **Issues > Milestones**.
1. Select a milestone from the list.
### How burnup charts work
Burnup charts have separate lines for total work and completed work. The total line
2022-04-04 11:22:00 +05:30
shows changes to the scope of a milestone. When an open issue is moved to another
milestone, the "total issues" goes down but the "completed issues" stays the same.
The completed work is a count of issues closed. When an issue is closed, the "total
issues" remains the same and "completed issues" goes up.
2021-01-03 14:25:43 +05:30
2022-04-04 11:22:00 +05:30
## Switch between number of issues and issue weight
In both burndown or burnup charts you can view them
either by the total number of issues
or the total weight for each day of the milestone.
To switch between the two settings, select either **Issues** or **Issue weight** above the charts.
When sorting by weight, make sure all your issues
have weight assigned, because issues with no weight don't show on the chart.
2021-01-03 14:25:43 +05:30
<!-- ## Troubleshooting
Include any troubleshooting steps that you can foresee. If you know beforehand what issues
one might have when setting this up, or when something is changed, or on upgrading, it's
important to describe those, too. Think of things that may go wrong and include them here.
This is important to minimize requests for support, and to avoid doc comments with
questions that you know someone might ask.
Each scenario can be a third-level heading, e.g. `### Getting error message X`.
If you have none to add when creating a doc, leave this section in place
but commented out to help encourage others to add to it in the future. -->