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

181 lines
8.4 KiB
Markdown
Raw Normal View History

2019-10-12 21:52:04 +05:30
---
type: index, reference
2020-06-23 00:09:42 +05:30
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
2019-10-12 21:52:04 +05:30
---
2021-03-11 19:13:27 +05:30
# Milestones **(FREE)**
2017-08-17 22:00:37 +05:30
2018-03-17 18:26:18 +05:30
Milestones in GitLab are a way to track issues and merge requests created to achieve a broader goal in a certain period of time.
Milestones allow you to organize issues and merge requests into a cohesive group, with an optional start date and an optional due date.
2019-02-15 15:39:39 +05:30
## Milestones as Agile sprints
2019-12-26 22:10:19 +05:30
Milestones can be used as Agile sprints so that you can track all issues and merge requests related to a particular sprint. To do so:
1. Set the milestone start date and due date to represent the start and end of your Agile sprint.
1. Set the milestone title to the name of your Agile sprint, such as `November 2018 sprint`.
1. Add an issue to your Agile sprint by associating the desired milestone from the issue's right-hand sidebar.
2019-02-15 15:39:39 +05:30
## Milestones as releases
2020-03-13 15:44:24 +05:30
Similarly, milestones can be used as releases. To do so:
2019-12-26 22:10:19 +05:30
1. Set the milestone due date to represent the release date of your release and leave the milestone start date blank.
1. Set the milestone title to the version of your release, such as `Version 9.4`.
1. Add an issue to your release by associating the desired milestone from the issue's right-hand sidebar.
2021-02-22 17:27:13 +05:30
Additionally, you can integrate milestones with the [Releases feature](../releases/index.md#associate-milestones-with-a-release).
2019-02-15 15:39:39 +05:30
2018-03-17 18:26:18 +05:30
## Project milestones and group milestones
2020-07-28 23:09:34 +05:30
You can assign **project milestones** to issues or merge requests in that project only.
To view the project milestone list, in a project, go to **{issues}** **Issues > Milestones**.
You can assign **group milestones** to any issue or merge request of any project in that group.
To view the group milestone list, in a group, go to **{issues}** **Issues > Milestones**.
You can also view all milestones you have access to in the dashboard milestones list.
2021-09-04 01:27:46 +05:30
To view both project milestones and group milestones you have access to, select **Menu > Milestones**
on the top bar.
2020-07-28 23:09:34 +05:30
For information about project and group milestones API, see:
- [Project Milestones API](../../../api/milestones.md)
- [Group Milestones API](../../../api/group_milestones.md)
2021-02-22 17:27:13 +05:30
NOTE:
2021-06-08 01:23:25 +05:30
If you're in a group and select **Issues > Milestones**, GitLab displays group milestones
2021-02-22 17:27:13 +05:30
and the milestones of projects in this group.
2021-06-08 01:23:25 +05:30
If you're in a project and select **Issues > Milestones**, GitLab displays only this project's milestones.
2018-03-17 18:26:18 +05:30
## Creating milestones
2017-08-17 22:00:37 +05:30
2022-04-04 11:22:00 +05:30
Users with at least the Developer role can create milestones.
2017-08-17 22:00:37 +05:30
2022-04-04 11:22:00 +05:30
Milestones can be created either at project or group level.
2017-08-17 22:00:37 +05:30
2022-04-04 11:22:00 +05:30
To create a milestone:
2020-07-28 23:09:34 +05:30
2022-04-04 11:22:00 +05:30
1. On the top bar, select **Menu > Projects** and find your project or **Menu > Groups** and find your group.
1. On the left sidebar, select **Issues > Milestones**.
2021-06-08 01:23:25 +05:30
1. Select **New milestone**.
2020-07-28 23:09:34 +05:30
1. Enter the title, an optional description, an optional start date, and an optional due date.
2021-06-08 01:23:25 +05:30
1. Select **New milestone**.
2018-03-17 18:26:18 +05:30
2022-04-04 11:22:00 +05:30
![New milestone](img/milestones_new_project_milestone.png)
2018-03-17 18:26:18 +05:30
## Editing milestones
2017-08-17 22:00:37 +05:30
2022-04-04 11:22:00 +05:30
Users with at least the Developer role can edit milestones.
2020-07-28 23:09:34 +05:30
To edit a milestone:
2018-03-17 18:26:18 +05:30
2020-07-28 23:09:34 +05:30
1. In a project or group, go to **{issues}** **Issues > Milestones**.
2021-06-08 01:23:25 +05:30
1. Select a milestone's title.
1. Select **Edit**.
2018-03-17 18:26:18 +05:30
2021-06-08 01:23:25 +05:30
You can delete a milestone by selecting the **Delete** button.
2018-03-17 18:26:18 +05:30
### Promoting project milestones to group milestones
2021-02-22 17:27:13 +05:30
If you are expanding the number of projects in a group, you might want to share the same milestones
among this group's projects. You can also promote project milestones to group milestones in order to
make them available to other projects in the same group.
2018-03-17 18:26:18 +05:30
2021-02-22 17:27:13 +05:30
From the project milestone list page, you can promote a project milestone to a group milestone.
This merges all project milestones across all projects in this group with the same name into a single
group milestones. All issues and merge requests that were previously assigned to one of these project
milestones is assigned the new group milestones. This action cannot be reversed and the changes are
permanent.
2018-03-17 18:26:18 +05:30
2021-02-22 17:27:13 +05:30
WARNING:
From GitLab 12.4 and earlier, some information is lost when you promote a project milestone to a
group milestone. Not all features on the project milestone view are available on the group milestone
view. If you promote a project milestone to a group milestone, you lose these features. Visit
[Milestone view](#milestone-view) to learn which features are missing from the group milestone view.
2018-03-17 18:26:18 +05:30
![Promote milestone](img/milestones_promote_milestone.png)
## Assigning milestones from the sidebar
Every issue and merge request can be assigned a milestone. The milestones are visible on every issue and merge request page, in the sidebar. They are also visible in the issue board. From the sidebar, you can assign or unassign a milestones to the object. You can also perform this as a [quick action](../quick_actions.md) in a comment. [As mentioned](#project-milestones-and-group-milestones), for a given issue or merge request, both project milestones and group milestones can be selected and assigned to the object.
## Filtering issues and merge requests by milestone
### Filtering in list pages
2022-01-26 12:08:38 +05:30
From the project and group issue/merge request list pages, you can [filter](../../search/index.md#search-issues-and-merge-requests) by both group and project milestones.
2018-03-17 18:26:18 +05:30
### Filtering in issue boards
2021-03-11 19:13:27 +05:30
From [project issue boards](../issue_board.md), you can filter by both group milestones and project
milestones in:
- [Search and filter bar](../../search/index.md#issue-boards)
- [Issue board configuration](../issue_board.md#configurable-issue-boards)
From [group issue boards](../issue_board.md#group-issue-boards), you can filter by only group milestones in:
- [Search and filter bar](../../search/index.md#issue-boards)
- [Issue board configuration](../issue_board.md#configurable-issue-boards)
2018-03-17 18:26:18 +05:30
### Special milestone filters
When filtering by milestone, in addition to choosing a specific project milestone or group milestone, you can choose a special milestone filter.
2018-12-13 13:39:08 +05:30
- **None**: Show issues or merge requests with no assigned milestone.
- **Any**: Show issues or merge requests that have an assigned milestone.
2021-02-22 17:27:13 +05:30
- **Upcoming**: Show issues or merge requests that have been assigned the open milestone and has the nearest due date in the future.
2019-07-07 11:18:12 +05:30
- **Started**: Show issues or merge requests that have an open assigned milestone with a start date that is before today.
2017-08-17 22:00:37 +05:30
2018-03-17 18:26:18 +05:30
## Milestone view
2017-08-17 22:00:37 +05:30
2018-03-17 18:26:18 +05:30
The milestone view shows the title and description.
2017-08-17 22:00:37 +05:30
2019-12-26 22:10:19 +05:30
There are also tabs below these that show the following:
2017-08-17 22:00:37 +05:30
2020-01-01 13:55:28 +05:30
- **Issues**: Shows all issues assigned to the milestone. These are displayed in three columns named:
- Unstarted Issues (open and unassigned)
- Ongoing Issues (open and assigned)
- Completed Issues (closed)
- **Merge Requests**: Shows all merge requests assigned to the milestone. These are displayed in four columns named:
- Work in progress (open and unassigned)
2022-04-04 11:22:00 +05:30
- Waiting for merge (open and assigned)
2020-01-01 13:55:28 +05:30
- Rejected (closed)
- Merged
- **Participants**: Shows all assignees of issues assigned to the milestone.
- **Labels**: Shows all labels that are used in issues assigned to the milestone.
2019-07-31 22:56:46 +05:30
2022-04-04 11:22:00 +05:30
### Burndown Charts
2019-07-31 22:56:46 +05:30
2022-04-04 11:22:00 +05:30
The milestone view contains a [burndown and burnup chart](burndown_and_burnup_charts.md),
2021-03-11 19:13:27 +05:30
showing the progress of completing a milestone.
2019-07-31 22:56:46 +05:30
2022-04-04 11:22:00 +05:30
![burndown chart](img/burndown_and_burnup_charts_v13_6.png)
2017-09-10 17:25:29 +05:30
2018-03-17 18:26:18 +05:30
### Milestone sidebar
2017-09-10 17:25:29 +05:30
2018-03-17 18:26:18 +05:30
The milestone sidebar on the milestone view shows the following:
2017-09-10 17:25:29 +05:30
2019-09-04 21:01:54 +05:30
- Percentage complete, which is calculated as number of closed issues divided by total number of issues.
2018-03-17 18:26:18 +05:30
- The start date and due date.
2020-04-22 19:07:51 +05:30
- The total time spent on all issues and merge requests assigned to the milestone.
2019-12-26 22:10:19 +05:30
- The total issue weight of all issues assigned to the milestone.
2017-09-10 17:25:29 +05:30
2021-06-08 01:23:25 +05:30
![Project milestone page](img/milestones_project_milestone_page_sidebar_v13_11.png)
2019-10-12 21:52:04 +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. -->