debian-mirror-gitlab/doc/user/group/iterations/index.md

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

308 lines
13 KiB
Markdown
Raw Normal View History

2020-06-23 00:09:42 +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
2020-06-23 00:09:42 +05:30
---
2021-03-11 19:13:27 +05:30
# Iterations **(PREMIUM)**
2020-06-23 00:09:42 +05:30
2022-01-26 12:08:38 +05:30
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/214713) in GitLab 13.1 [with a flag](../../../administration/feature_flags.md) named `group_iterations`. Disabled by default.
> - [Enabled on self-managed](https://gitlab.com/gitlab-org/gitlab/-/issues/221047) in GitLab 13.2.
2021-03-11 19:13:27 +05:30
> - Moved to GitLab Premium in 13.9.
2022-01-26 12:08:38 +05:30
> - [Generally available](https://gitlab.com/gitlab-org/gitlab/-/issues/221047) in GitLab 14.6. [Feature flag `group_iterations`](https://gitlab.com/gitlab-org/gitlab/-/issues/221047) removed.
2020-06-23 00:09:42 +05:30
2022-06-21 17:19:12 +05:30
WARNING:
After [Iteration Cadences](#iteration-cadences) becomes generally available,
manual iteration scheduling will be [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/356069) in GitLab 15.6.
To enhance the role of iterations as time boundaries, we will also deprecate the title field.
2020-06-23 00:09:42 +05:30
Iterations are a way to track issues over a period of time. This allows teams
to track velocity and volatility metrics. Iterations can be used with [milestones](../../project/milestones/index.md)
for tracking over different time periods.
For example, you can use:
- Milestones for Program Increments, which span 8-12 weeks.
- Iterations for Sprints, which span 2 weeks.
In GitLab, iterations are similar to milestones, with a few differences:
- Iterations are only available to groups.
- A group can only have one active iteration at a time.
- Iterations require both a start and an end date.
- Iteration date ranges cannot overlap.
## View the iterations list
2021-09-30 23:02:18 +05:30
To view the iterations list, go to **{issues}** **Issues > Iterations**.
To view all the iterations in a cadence, ordered by descending date, select that iteration cadence.
From there you can create a new iteration or select an iteration to get a more detailed view.
2020-06-23 00:09:42 +05:30
## Create an iteration
2022-07-16 23:28:13 +05:30
> - [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/356069) in GitLab 14.10.
> - [Changed](https://gitlab.com/gitlab-org/gitlab/-/issues/343889) the minimum user role from Developer to Reporter in GitLab 15.0.
2022-06-21 17:19:12 +05:30
WARNING:
Manual iteration management is in its end-of-life process. Creating an iteration is [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/356069)
in GitLab 14.10, and is planned for removal in GitLab 16.0.
2021-09-30 23:02:18 +05:30
Prerequisites:
2022-07-16 23:28:13 +05:30
- You must have at least the Reporter role for a group.
2021-09-30 23:02:18 +05:30
2020-06-23 00:09:42 +05:30
To create an iteration:
2021-09-30 23:02:18 +05:30
1. On the top bar, select **Menu > Groups** and find your group.
1. On the left sidebar, select **Issues > Iterations**.
1. Select **New iteration**.
2020-06-23 00:09:42 +05:30
1. Enter the title, a description (optional), a start date, and a due date.
2021-09-30 23:02:18 +05:30
1. Select **Create iteration**. The iteration details page opens.
2020-06-23 00:09:42 +05:30
2020-07-28 23:09:34 +05:30
## Edit an iteration
2020-06-23 00:09:42 +05:30
2022-06-21 17:19:12 +05:30
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/218277) in GitLab 13.2.
> - [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/356069) in GitLab 14.10.
2022-07-16 23:28:13 +05:30
> - [Changed](https://gitlab.com/gitlab-org/gitlab/-/issues/343889) the minimum user role from Developer to Reporter in GitLab 15.0.
2022-06-21 17:19:12 +05:30
WARNING:
Editing all attributes, with the exception of `description` is [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/356069)
in GitLab 14.10, and is planned for removal in GitLab 16.0.
In the future only editing an iteration's `description` will be allowed.
2020-07-28 23:09:34 +05:30
2021-09-30 23:02:18 +05:30
Prerequisites:
2020-07-28 23:09:34 +05:30
2022-07-16 23:28:13 +05:30
- You must have at least the Reporter role for a group.
2021-09-30 23:02:18 +05:30
2021-11-11 11:23:49 +05:30
To edit an iteration, select the three-dot menu (**{ellipsis_v}**) > **Edit**.
## Delete an iteration
2022-06-21 17:19:12 +05:30
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/292268) in GitLab 14.3.
> - [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/356069) in GitLab 14.10.
2022-07-16 23:28:13 +05:30
> - [Changed](https://gitlab.com/gitlab-org/gitlab/-/issues/343889) the minimum user role from Developer to Reporter in GitLab 15.0.
2022-06-21 17:19:12 +05:30
WARNING:
Manual iteration management is in its end-of-life process. Deleting an iteration is [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/356069)
in GitLab 14.10, and is planned for removal in GitLab 16.0.
2021-11-11 11:23:49 +05:30
Prerequisites:
2022-07-16 23:28:13 +05:30
- You must have at least the Reporter role for a group.
2021-11-11 11:23:49 +05:30
To delete an iteration, select the three-dot menu (**{ellipsis_v}**) > **Delete**.
2020-07-28 23:09:34 +05:30
2020-08-09 18:53:13 +05:30
## Add an issue to an iteration
2021-03-11 19:13:27 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/216158) in GitLab 13.2.
2020-08-09 18:53:13 +05:30
To learn how to add an issue to an iteration, see the steps in
2020-11-24 15:15:51 +05:30
[Managing issues](../../project/issues/managing_issues.md#add-an-issue-to-an-iteration).
2020-08-09 18:53:13 +05:30
2021-01-03 14:25:43 +05:30
## View an iteration report
2021-03-11 19:13:27 +05:30
> Viewing iteration reports in projects [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/222763) in GitLab 13.5.
2021-01-03 14:25:43 +05:30
You can track the progress of an iteration by reviewing iteration reports.
An iteration report displays a list of all the issues assigned to an iteration and their status.
2021-02-22 17:27:13 +05:30
The report also shows a breakdown of total issues in an iteration.
Open iteration reports show a summary of completed, unstarted, and in-progress issues.
Closed iteration reports show the total number of issues completed by the due date.
2022-06-21 17:19:12 +05:30
To view an iteration report, go to the iterations list page and select an iteration's period.
2021-01-03 14:25:43 +05:30
2021-01-29 00:20:46 +05:30
### Iteration burndown and burnup charts
2021-12-11 22:18:48 +05:30
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/222750) in GitLab 13.6.
2021-03-11 19:13:27 +05:30
> - [Feature flag removed](https://gitlab.com/gitlab-org/gitlab/-/issues/269972) in GitLab 13.7.
2022-05-07 20:08:51 +05:30
> - Scoped burnup and burndown charts in subgroups and projects [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/326029) in GitLab 14.9.
2021-01-29 00:20:46 +05:30
The iteration report includes [burndown and burnup charts](../../project/milestones/burndown_and_burnup_charts.md),
similar to how they appear when viewing a [milestone](../../project/milestones/index.md).
Burndown charts help track completion progress of total scope, and burnup charts track the daily
total count and weight of issues added to and completed in a given timebox.
2022-05-07 20:08:51 +05:30
#### Iteration charts scoped to subgroups or projects
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/326029) in GitLab 14.9.
You can view burndown and burnup charts for iterations created for a group in any of its
subgroups or projects.
When you do this, the charts only count the issues that belong to the subgroup or project.
For example, suppose a group has two projects named `Project 1` and `Project 2`.
Each project has a single issue assigned to the same iteration from the group.
An iteration report generated for the group shows issue counts for all the group's projects:
- Completed: 0 of 2
- Incomplete: 0 of 2
- Unstarted: 2 of 2
- Burndown chart total issues: 2
- Burnup chart total issues: 2
An iteration report generated for `Project 1` shows only issues that belong to this project:
- Completed: 0 of 1
- Incomplete: 0 of 1
- Unstarted: 1 of 1
- Burndown chart total issues: 1
- Burnup chart total issues: 1
2021-03-08 18:12:59 +05:30
### Group issues by label
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/225500) in GitLab 13.8.
You can group the list of issues by label.
This can help you view issues that have your team's label,
and get a more accurate understanding of scope attributable to each label.
To group issues by label:
2021-09-30 23:02:18 +05:30
1. On the top bar, select **Menu > Groups** and find your group.
1. On the left sidebar, select **Issues > Iterations**.
2021-03-08 18:12:59 +05:30
1. In the **Group by** dropdown, select **Label**.
1. Select the **Filter by label** dropdown.
1. Select the labels you want to group by in the labels dropdown.
You can also search for labels by typing in the search input.
2022-01-26 12:08:38 +05:30
1. Select any area outside the label dropdown list. The page is now grouped by the selected labels.
2020-06-23 00:09:42 +05:30
2022-06-21 17:19:12 +05:30
## Iteration cadences
2022-07-16 23:28:13 +05:30
> - [Introduced](https://gitlab.com/groups/gitlab-org/-/epics/5077) in GitLab 14.1 [with a flag](../../../administration/feature_flags.md), named `iteration_cadences`. Disabled by default.
> - [Changed](https://gitlab.com/gitlab-org/gitlab/-/issues/354977) in GitLab 15.0: All scheduled iterations must start on the same day of the week as the cadence start day. Start date of cadence cannot be edited after the first iteration starts.
> - [Enabled on GitLab.com and self-managed](https://gitlab.com/gitlab-org/gitlab/-/issues/354878) in GitLab 15.0.
2022-06-21 17:19:12 +05:30
Iteration cadences automate iteration scheduling. You can use them to
2022-07-16 23:28:13 +05:30
automate creating iterations every 1, 2, 3, or 4 weeks. You can also
2022-06-21 17:19:12 +05:30
configure iteration cadences to automatically roll over incomplete issues to the next iteration.
### Create an iteration cadence
2022-07-16 23:28:13 +05:30
> [Changed](https://gitlab.com/gitlab-org/gitlab/-/issues/343889) the minimum user role from Developer to Reporter in GitLab 15.0.
2022-06-21 17:19:12 +05:30
Prerequisites:
2022-07-16 23:28:13 +05:30
- You must have at least the Reporter role for a group.
2022-06-21 17:19:12 +05:30
To create an iteration cadence:
1. On the top bar, select **Menu > Groups** and find your group.
1. On the left sidebar, select **Issues > Iterations**.
1. Select **New iteration cadence**.
2022-07-16 23:28:13 +05:30
1. Complete the fields.
- Enter the title and description of the iteration cadence.
- Enter the first iteration start date of the iteration cadence. Iterations will be scheduled to
begin on the same day of the week as the day of the week of the start date.
- From the **Duration** dropdown list, select how many weeks each iteration should last.
- From the **Upcoming iterations** dropdown list, select how many upcoming iterations should be
created and maintained by GitLab.
- Optional. To move incomplete issues to the next iteration, select **Roll over issues**.
1. Select **Create cadence**. The cadence list page opens.
### Edit an iteration cadence
Prerequisites:
- You must have at least the Developer role for a group.
To edit an iteration cadence:
1. On the top bar, select **Menu > Groups** and find your group.
1. On the left sidebar, select **Issues > Iterations**.
1. Select **Edit iteration cadence**.
When you edit the **Duration**, **Upcoming iterations**, or **First iteration start date** fields,
only upcoming iterations are affected.
You can edit the first iteration start date of a cadence if the cadence has not started yet.
Editing **Upcoming iterations** is a non-destructive action.
If ten upcoming iterations already exist, changing the number under **Upcoming iterations** to `2`
doesn't delete the eight existing upcoming iterations.
2022-06-21 17:19:12 +05:30
### Delete an iteration cadence
2022-07-16 23:28:13 +05:30
> [Changed](https://gitlab.com/gitlab-org/gitlab/-/issues/343889) the minimum user role from Developer to Reporter in GitLab 15.0.
2022-06-21 17:19:12 +05:30
Prerequisites:
2022-07-16 23:28:13 +05:30
- You must have at least the Reporter role for a group.
2021-09-30 23:02:18 +05:30
2022-06-21 17:19:12 +05:30
Deleting an iteration cadence also deletes all iterations within that cadence.
2021-09-30 23:02:18 +05:30
2022-06-21 17:19:12 +05:30
To delete an iteration cadence:
2021-09-30 23:02:18 +05:30
2022-06-21 17:19:12 +05:30
1. On the top bar, select **Menu > Groups** and find your group.
1. On the left sidebar, select **Issues > Iterations**.
1. Select the three-dot menu (**{ellipsis_v}**) > **Delete cadence** for the cadence you want to delete.
1. Select **Delete cadence** in the confirmation modal.
2021-09-30 23:02:18 +05:30
2022-07-16 23:28:13 +05:30
### Manual iteration cadences
When you **enable** the iteration cadences feature, all previously
created iterations are added to a default iteration cadence.
You can continue to add, edit, and remove iterations in
this default cadence.
#### Convert a manual cadence to use automatic scheduling
2021-09-30 23:02:18 +05:30
2022-06-21 17:19:12 +05:30
WARNING:
2022-07-16 23:28:13 +05:30
The upgrade is irreversible. After it's done, a new manual iteration cadence cannot be created.
2021-09-30 23:02:18 +05:30
2022-07-16 23:28:13 +05:30
Prerequisites:
2020-06-23 00:09:42 +05:30
2022-07-16 23:28:13 +05:30
- You must have created [iterations](#iterations) without cadences before enabling iteration cadences for your group.
2022-06-21 17:19:12 +05:30
To upgrade the iteration cadence to use the automation features:
2020-06-23 00:09:42 +05:30
2022-06-21 17:19:12 +05:30
1. On the top bar, select **Menu > Groups** and find your group.
1. On the left sidebar, select **Issues > Iterations**.
1. Select the three-dot menu (**{ellipsis_v}**) > **Edit cadence** for the cadence you want to upgrade.
2022-07-16 23:28:13 +05:30
1. Complete the required fields **Duration** and **Upcoming iterations**.
1. Select **Save changes**.
#### Start dates of converted cadences
The first iteration start date of your converted cadence is set to the start date of its
**first** existing iteration.
If you attempt to set a new start date, the conversion fails with an error message.
If your manual cadence is empty, converting it to use automatic scheduling is effectively
the same as creating a new automated cadence.
GitLab will start scheduling new iterations on the same day of the week as the start date,
starting from the nearest such day from the current date.
During the conversion process GitLab does not delete or modify existing **ongoing** or
**closed** iterations. If you have iterations with start dates in the future,
they are updated to fit your cadence settings.
#### Converted cadences example
For example, suppose it's Friday, April 15, and you have three iterations in a manual cadence:
- Monday, April 4 - Friday, April 8 (closed)
- Tuesday, April 12 - Friday, April 15 (ongoing)
- Tuesday, May 3 - Friday, May 6 (upcoming)
On Friday, April 15, you convert the manual cadence
to automate scheduling iterations every week, up to two upcoming iterations.
The first iteration is closed, and the second iteration is ongoing,
so they aren't deleted or modified in the conversion process.
To observe the weekly duration, the third iteration is updated so that it:
- Starts on Monday, April 18 - which is the nearest date that is Monday.
- Ends on Sunday, April 24.
Finally, to always have two upcoming iterations, an additional iteration is scheduled:
- Monday, April 4 - Friday, April 8 (closed)
- Tuesday, April 12 - Friday, April 15 (ongoing)
- Monday, April 18 - Sunday, April 24 (upcoming)
- Monday, April 25 - Sunday, May 1 (upcoming)