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
e2493b50
Commit
e2493b50
authored
Mar 26, 2020
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Default enable issue health status feature flag
Default issue health status feature flag to on
parent
bee71dd6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
5 deletions
+10
-5
app/controllers/projects/issues_controller.rb
app/controllers/projects/issues_controller.rb
+1
-1
doc/user/project/issues/index.md
doc/user/project/issues/index.md
+3
-3
ee/app/models/concerns/health_status.rb
ee/app/models/concerns/health_status.rb
+1
-1
ee/changelogs/unreleased/issue_209881_2.yml
ee/changelogs/unreleased/issue_209881_2.yml
+5
-0
No files found.
app/controllers/projects/issues_controller.rb
View file @
e2493b50
...
...
@@ -44,7 +44,7 @@ class Projects::IssuesController < Projects::ApplicationController
before_action
do
push_frontend_feature_flag
(
:vue_issuable_sidebar
,
project
.
group
)
push_frontend_feature_flag
(
:save_issuable_health_status
,
project
.
group
)
push_frontend_feature_flag
(
:save_issuable_health_status
,
project
.
group
,
default_enabled:
true
)
end
before_action
only: :show
do
...
...
doc/user/project/issues/index.md
View file @
e2493b50
...
...
@@ -182,12 +182,12 @@ To help you track the status of your issues, you can assign a status to each iss
#### Enable issue health status
This feature comes with the
`:save_issuable_health_status`
feature flag
dis
abled by default. However, in some cases
this feature is incompatible with old configuration. To turn o
n
the feature while configuration is
This feature comes with the
`:save_issuable_health_status`
feature flag
en
abled by default. However, in some cases
this feature is incompatible with old configuration. To turn o
ff
the feature while configuration is
migrated, ask a GitLab administrator with Rails console access to run the following command:
```
ruby
Feature
.
en
able
(
:save_issuable_health_status
)
Feature
.
dis
able
(
:save_issuable_health_status
)
```
## Other Issue actions
...
...
ee/app/models/concerns/health_status.rb
View file @
e2493b50
...
...
@@ -16,6 +16,6 @@ module HealthStatus
def
supports_health_status?
return
false
unless
resource_parent
&
.
feature_available?
(
:issuable_health_status
)
::
Feature
.
enabled?
(
:save_issuable_health_status
,
resource_parent
.
try
(
:group
))
::
Feature
.
enabled?
(
:save_issuable_health_status
,
resource_parent
.
try
(
:group
)
,
default_enabled:
true
)
end
end
ee/changelogs/unreleased/issue_209881_2.yml
0 → 100644
View file @
e2493b50
---
title
:
Allow to save issue health status
merge_request
:
28146
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