Commit e2493b50 authored by Felipe Artur's avatar Felipe Artur

Default enable issue health status feature flag

Default issue health status feature flag to on
parent bee71dd6
......@@ -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
......
......@@ -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 disabled by default. However, in some cases
this feature is incompatible with old configuration. To turn on the feature while configuration is
This feature comes with the `:save_issuable_health_status` feature flag enabled by default. However, in some cases
this feature is incompatible with old configuration. To turn off the feature while configuration is
migrated, ask a GitLab administrator with Rails console access to run the following command:
```ruby
Feature.enable(:save_issuable_health_status)
Feature.disable(:save_issuable_health_status)
```
## Other Issue actions
......
......@@ -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
---
title: Allow to save issue health status
merge_request: 28146
author:
type: added
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment