Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1dce2383
Commit
1dce2383
authored
Jul 16, 2020
by
Jake Lear
Committed by
Kushal Pandya
Jul 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable group_iterations feature flag by default
parent
e8771823
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
13 deletions
+18
-13
doc/user/group/iterations/index.md
doc/user/group/iterations/index.md
+9
-9
ee/app/helpers/ee/groups_helper.rb
ee/app/helpers/ee/groups_helper.rb
+1
-1
ee/app/views/groups/iterations/index.html.haml
ee/app/views/groups/iterations/index.html.haml
+1
-1
ee/app/views/groups/iterations/show.html.haml
ee/app/views/groups/iterations/show.html.haml
+1
-1
ee/app/views/shared/issuable/_iteration_select.html.haml
ee/app/views/shared/issuable/_iteration_select.html.haml
+1
-1
ee/changelogs/unreleased/jl-enable-iterations-by-default.yml
ee/changelogs/unreleased/jl-enable-iterations-by-default.yml
+5
-0
No files found.
doc/user/group/iterations/index.md
View file @
1dce2383
...
@@ -8,11 +8,12 @@ info: To determine the technical writer assigned to the Stage/Group associated w
...
@@ -8,11 +8,12 @@ info: To determine the technical writer assigned to the Stage/Group associated w
# Iterations **(STARTER)**
# Iterations **(STARTER)**
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/214713) in [GitLab Starter](https://about.gitlab.com/pricing/) 13.1.
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/214713) in [GitLab Starter](https://about.gitlab.com/pricing/) 13.1.
> - It's deployed behind a feature flag, disabled by default.
> - It was deployed behind a feature flag, disabled by default.
> - It's disabled on GitLab.com.
> - [Became enabled by default](https://gitlab.com/gitlab-org/gitlab/-/issues/221047) on GitLab 13.2.
> - It's able to be enabled or disabled per-group
> - It's enabled on GitLab.com.
> - It's not recommended for production use.
> - It's able to be enabled or disabled per-group.
> - To use it in GitLab self-managed instances, ask a GitLab administrator to [enable it](#enable-iterations-core-only). **(CORE ONLY)**
> - It's recommended for production use.
> - For GitLab self-managed instances, GitLab administrators can opt to [disable it](#disable-iterations-core-only). **(CORE ONLY)**
Iterations are a way to track issues over a period of time. This allows teams
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
)
to track velocity and volatility metrics. Iterations can be used with
[
milestones
](
../../project/milestones/index.md
)
...
@@ -56,12 +57,11 @@ You need Developer [permissions](../../permissions.md) or higher to edit an iter
...
@@ -56,12 +57,11 @@ You need Developer [permissions](../../permissions.md) or higher to edit an iter
To edit an iteration, click the three-dot menu (
**{ellipsis_v}**
) >
**Edit iteration**
.
To edit an iteration, click the three-dot menu (
**{ellipsis_v}**
) >
**Edit iteration**
.
##
En
able Iterations **(CORE ONLY)**
##
Dis
able Iterations **(CORE ONLY)**
GitLab Iterations feature is under development and not ready for production use.
GitLab Iterations feature is deployed with a feature flag that is
**enabled by default**
.
It is deployed behind a feature flag that is
**disabled by default**
.
[
GitLab administrators with access to the GitLab Rails console
](
../../../administration/feature_flags.md
)
[
GitLab administrators with access to the GitLab Rails console
](
../../../administration/feature_flags.md
)
can
en
able it for your instance.
`:group_iterations`
can be enabled or disabled per-group.
can
dis
able it for your instance.
`:group_iterations`
can be enabled or disabled per-group.
To enable it:
To enable it:
...
...
ee/app/helpers/ee/groups_helper.rb
View file @
1dce2383
...
@@ -150,7 +150,7 @@ module EE
...
@@ -150,7 +150,7 @@ module EE
links
<<
:productivity_analytics
links
<<
:productivity_analytics
end
end
if
::
Feature
.
enabled?
(
:group_iterations
,
@group
)
&&
@group
.
feature_available?
(
:iterations
)
&&
can?
(
current_user
,
:read_iteration
,
@group
)
if
::
Feature
.
enabled?
(
:group_iterations
,
@group
,
default_enabled:
true
)
&&
@group
.
feature_available?
(
:iterations
)
&&
can?
(
current_user
,
:read_iteration
,
@group
)
links
<<
:iterations
links
<<
:iterations
end
end
...
...
ee/app/views/groups/iterations/index.html.haml
View file @
1dce2383
-
page_title
_
(
"Iterations"
)
-
page_title
_
(
"Iterations"
)
-
if
Feature
.
enabled?
(
:group_iterations
,
@group
)
-
if
Feature
.
enabled?
(
:group_iterations
,
@group
,
default_enabled:
true
)
.js-iterations-list
{
data:
{
group_full_path:
@group
.
full_path
,
can_admin:
can?
(
current_user
,
:create_iteration
,
@group
).
to_s
,
new_iteration_path:
new_group_iteration_path
(
@group
)
}
}
.js-iterations-list
{
data:
{
group_full_path:
@group
.
full_path
,
can_admin:
can?
(
current_user
,
:create_iteration
,
@group
).
to_s
,
new_iteration_path:
new_group_iteration_path
(
@group
)
}
}
ee/app/views/groups/iterations/show.html.haml
View file @
1dce2383
...
@@ -2,5 +2,5 @@
...
@@ -2,5 +2,5 @@
-
breadcrumb_title
params
[
:id
]
-
breadcrumb_title
params
[
:id
]
-
page_title
_
(
"Iterations"
)
-
page_title
_
(
"Iterations"
)
-
if
Feature
.
enabled?
(
:group_iterations
,
@group
)
-
if
Feature
.
enabled?
(
:group_iterations
,
@group
,
default_enabled:
true
)
.js-iteration
{
data:
{
group_path:
@group
.
full_path
,
iteration_iid:
params
[
:id
],
can_edit:
can?
(
current_user
,
:admin_iteration
,
@group
).
to_s
,
preview_markdown_path:
preview_markdown_path
(
@group
)
}
}
.js-iteration
{
data:
{
group_path:
@group
.
full_path
,
iteration_iid:
params
[
:id
],
can_edit:
can?
(
current_user
,
:admin_iteration
,
@group
).
to_s
,
preview_markdown_path:
preview_markdown_path
(
@group
)
}
}
ee/app/views/shared/issuable/_iteration_select.html.haml
View file @
1dce2383
-
if
Feature
.
enabled?
(
:group_iterations
,
@project
.
group
)
&&
@project
.
group
.
feature_available?
(
:iterations
)
&&
issuable_type
==
"issue"
-
if
Feature
.
enabled?
(
:group_iterations
,
@project
.
group
,
default_enabled:
true
)
&&
@project
.
group
.
feature_available?
(
:iterations
)
&&
issuable_type
==
"issue"
.js-iteration-select
{
data:
{
can_edit:
can_edit
,
group_path:
group_path
,
project_path:
project_path
,
issue_iid:
issue_iid
}
}
.js-iteration-select
{
data:
{
can_edit:
can_edit
,
group_path:
group_path
,
project_path:
project_path
,
issue_iid:
issue_iid
}
}
ee/changelogs/unreleased/jl-enable-iterations-by-default.yml
0 → 100644
View file @
1dce2383
---
title
:
Enables Iterations by default
merge_request
:
36873
author
:
type
:
added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment