index.md 8,7 КБ
Newer Older
Achilleas Pipinellis's avatar
Achilleas Pipinellis включено в состав коммита
1
2
# Milestones

Victor Wu's avatar
Victor Wu включено в состав коммита
3
## Overview
Achilleas Pipinellis's avatar
Achilleas Pipinellis включено в состав коммита
4

Victor Wu's avatar
Victor Wu включено в состав коммита
5
6
7
8
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.

Victor Wu's avatar
Victor Wu включено в состав коммита
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## Milestones as Agile sprints

Milestones can be used as Agile sprints.
Set the milestone start date and due date to represent
the start and end of your Agile sprint.
Set the milestone title to the name of your Agile sprint,
such as `November 2018 sprint`.
Add an issue to your Agile sprint by associating
the milestone to the issue.  

## Milestones as releases

Milestones can be used as releases.
Set the milestone due date to represent the release date of your release. 
(And leave the milestone start date blank.)
Takuya Noguchi's avatar
Takuya Noguchi включено в состав коммита
24
Set the milestone title to the version of your release,
Victor Wu's avatar
Victor Wu включено в состав коммита
25
26
27
28
such as `Version 9.4`.
Add an issue to your release by associating
the milestone to the issue.

Victor Wu's avatar
Victor Wu включено в состав коммита
29
30
## Project milestones and group milestones

Marcel Amirault's avatar
Marcel Amirault включено в состав коммита
31
32
33
- **Project milestones** can be assigned to issues or merge requests in that project only. Navigate to **Issues > Milestones** in a project to view the project milestone list.
- **Group milestones** can be assigned to any issue or merge request of any project in that group. Navigate to **Issues > Milestones** in a group to view the group milestone list.
- All milestones you have access to can also be viewed in the dashboard milestones list. Click on **Milestones** on the top navigation bar to view both project milestones and group milestones you have access to.
Victor Wu's avatar
Victor Wu включено в состав коммита
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

## Creating milestones

>**Note:**
A permission level of `Developer` or higher is required to create milestones.

### New project milestone

To create a **project milestone**, navigate to **Issues > Milestones** in the project.

Click the **New milestone** button. Enter the title, an optional description, an optional start date, and an optional due date. Click **Create milestone** to create the milestone.

![New project milestone](img/milestones_new_project_milestone.png)

### New group milestone

To create a **group milestone**, follow similar steps from above to project milestones. Navigate to **Issues > Milestones** in the group and create it from there.

![New group milestone](img/milestones_new_group_milestone.png)

## Editing milestones
Achilleas Pipinellis's avatar
Achilleas Pipinellis включено в состав коммита
55
56

>**Note:**
Victor Wu's avatar
Victor Wu включено в состав коммита
57
58
59
A permission level of `Developer` or higher is required to edit milestones.

You can update a milestone by navigating to **Issues > Milestones** in the project or group and clicking the **Edit** button.
Achilleas Pipinellis's avatar
Achilleas Pipinellis включено в состав коммита
60

Victor Wu's avatar
Victor Wu включено в состав коммита
61
You can delete a milestone by clicking the **Delete** button.
Achilleas Pipinellis's avatar
Achilleas Pipinellis включено в состав коммита
62

Victor Wu's avatar
Victor Wu включено в состав коммита
63
### Promoting project milestones to group milestones
Achilleas Pipinellis's avatar
Achilleas Pipinellis включено в состав коммита
64

Victor Wu's avatar
Victor Wu включено в состав коммита
65
66
67
If you are expanding from a few projects to a larger number of projects within the same group, you may want to share the same milestone among multiple projects in the same group. If you previously created a project milestone and now want to make it available for other milestones, you can promote it to a group milestone.

From the project milestone list page, you can promote a project milestone to a group milestone. This will merge all project milestones across all projects in this group with the same name into a single group milestones. All issues and merge requests that previously were assigned one of these project milestones will now be assigned the new group milestones. This action cannot be reversed and the changes are permanent.
Achilleas Pipinellis's avatar
Achilleas Pipinellis включено в состав коммита
68
69

>**Note:**
Victor Wu's avatar
Victor Wu включено в состав коммита
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
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 will lose these features. See [Milestone view](#milestone-view) to see which features are missing from the group milestone view.

![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

From the project issue/merge request list pages and the group issue/merge request list pages, you can [filter](../../search/index.md#issues-and-merge-requests) by both group milestones and project milestones.

### Filtering in issue boards

Marcel Amirault's avatar
Marcel Amirault включено в состав коммита
86
87
88
89
- From [project issue boards](../issue_board.md), you can filter by both group milestones and project milestones in the [search and filter bar](../../search/index.md#issue-boards).
- From [group issue boards](../issue_board.md#group-issue-boards-premium), you can filter by only group milestones in the [search and filter bar](../../search/index.md#issue-boards). **[PREMIUM]**
- From [project issue boards](../issue_board.md), you can filter by both group milestones and project milestones in the [issue board configuration](../issue_board.md#configurable-issue-boards-starter). **[STARTER]**
- From [group issue boards](../issue_board.md#group-issue-boards-premium) you can filter by only group milestones in the [issue board configuration](../issue_board.md#configurable-issue-boards-starter). **[STARTER]**
Victor Wu's avatar
Victor Wu включено в состав коммита
90
91
92
93

### 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.
Achilleas Pipinellis's avatar
Achilleas Pipinellis включено в состав коммита
94

Heinrich Lee Yu's avatar
Heinrich Lee Yu включено в состав коммита
95
96
- **None**: Show issues or merge requests with no assigned milestone.
- **Any**: Show issues or merge requests that have an assigned milestone.
Victor Wu's avatar
Victor Wu включено в состав коммита
97
- **Upcoming**: Show issues or merge requests that have been assigned the open milestone that has the next upcoming due date (i.e. nearest due date in the future).
Sean McGivern's avatar
Sean McGivern включено в состав коммита
98
- **Started**: Show issues or merge requests that have an open assigned milestone with a start date that is before today.
Felipe Artur's avatar
Felipe Artur включено в состав коммита
99

Victor Wu's avatar
Victor Wu включено в состав коммита
100
## Milestone view
Achilleas Pipinellis's avatar
Achilleas Pipinellis включено в состав коммита
101

Victor Wu's avatar
Victor Wu включено в состав коммита
102
Not all features in the project milestone view are available in the group milestone view. This table summarizes the differences:
Victor Wu's avatar
Victor Wu включено в состав коммита
103

Marcel Amirault's avatar
Marcel Amirault включено в состав коммита
104
105
106
107
108
109
110
111
112
113
114
| Feature                              | Project milestone view | Group milestone view |
|--------------------------------------|:----------------------:|:--------------------:|
| Title an description                 | ✓                      | ✓                    |
| Issues assigned to milestone         | ✓                      |                      |
| Merge requests assigned to milestone | ✓                      |                      |
| Participants and labels used         | ✓                      |                      |
| Percentage complete                  | ✓                      | ✓                    |
| Start date and due date              | ✓                      | ✓                    |
| Total issue time spent               | ✓                      | ✓                    |
| Total issue weight                   | ✓                      |                      |
| Burndown chart **[STARTER}**         | ✓                      | ✓                    |
Victor Wu's avatar
Victor Wu включено в состав коммита
115

Victor Wu's avatar
Victor Wu включено в состав коммита
116
The milestone view shows the title and description.
Achilleas Pipinellis's avatar
Achilleas Pipinellis включено в состав коммита
117

Victor Wu's avatar
Victor Wu включено в состав коммита
118
### Project milestone features
Achilleas Pipinellis's avatar
Achilleas Pipinellis включено в состав коммита
119

Victor Wu's avatar
Victor Wu включено в состав коммита
120
These features are only available for project milestones and not group milestones.
Chris Wilson's avatar
Chris Wilson включено в состав коммита
121

Victor Wu's avatar
Victor Wu включено в состав коммита
122
123
124
- Issues assigned to the milestone are displayed in three columns: Unstarted issues, ongoing issues, and completed issues.
- Merge requests assigned to the milestone are displayed in four columns: Work in progress merge requests, waiting for merge, rejected, and closed.
- Participants and labels that are used in issues and merge requests that have the milestone assigned are displayed.
Marcel Amirault's avatar
Marcel Amirault включено в состав коммита
125
126
127
128
129
130
131
132
133
134
135
- [Burndown chart](#project-burndown-charts-starter).

### Project Burndown Charts **[STARTER]**

For project milestones in [GitLab Starter](https://about.gitlab.com/pricing), a [burndown chart](burndown_charts.md) is in the milestone view, showing the progress of completing a milestone.

![burndown chart](img/burndown_chart.png)

### Group Burndown Charts **[PREMIUM]**

For group milestones in [GitLab Premium](https://about.gitlab.com/pricing), a [burndown chart](burndown_charts.md) is in the milestone view, showing the progress of completing a milestone.
Chris Wilson's avatar
Chris Wilson включено в состав коммита
136

Victor Wu's avatar
Victor Wu включено в состав коммита
137
### Milestone sidebar
Victor Wu's avatar
Victor Wu включено в состав коммита
138

Victor Wu's avatar
Victor Wu включено в состав коммита
139
The milestone sidebar on the milestone view shows the following:
Chris Wilson's avatar
Chris Wilson включено в состав коммита
140

Victor Wu's avatar
Victor Wu включено в состав коммита
141
142
143
- Percentage complete, which is calculated as number of closed issues plus number of closed/merged merge requests divided by total number issues and merge requests.
- The start date and due date.
- The total time spent on all issues that have the milestone assigned.
Victor Wu's avatar
Victor Wu включено в состав коммита
144

Victor Wu's avatar
Victor Wu включено в состав коммита
145
For project milestones only, the milestone sidebar shows the total issue weight of all issues that have the milestone assigned.
Victor Wu's avatar
Victor Wu включено в состав коммита
146

Clement Ho's avatar
Clement Ho включено в состав коммита
147
![Project milestone page](img/milestones_project_milestone_page.png)