Commit 7a2277a7 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch '282501-remove-iterations-filter-feature-flag' into 'master'

Remove :filter_bar_iterations feature flag

See merge request gitlab-org/gitlab!47766
parents 72911d55 fdb594a0
......@@ -44,6 +44,7 @@ groups:
- Author
- Assignee
- [Milestone](../project/milestones/index.md)
- [Iteration](../group/iterations/index.md) ([introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/118742) in [GitLab Starter](https://about.gitlab.com/pricing/) 13.6)
- Release
- [Label](../project/labels.md)
- My-reaction
......
......@@ -146,7 +146,7 @@ module EE
context = @project.presence || @group.presence
context && ::Feature.enabled?(:filter_bar_iterations, context) && context.feature_available?(:iterations)
context&.feature_available?(:iterations)
end
def gitlab_com_snippet_db_search?
......
---
title: Allow filtering by iteration in issue lists and issue boards
merge_request: 47766
author:
type: added
---
name: filter_bar_iterations
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/44690
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/118742
milestone: '13.6'
type: development
group: group::project management
default_enabled: false
......@@ -80,16 +80,6 @@ RSpec.describe SearchHelper do
it 'does not include iterations endpoint in dashboard context' do
expect(options[:data]['iterations-endpoint']).to be(nil)
end
context 'when feature flag is disabled' do
before do
stub_feature_flags(filter_bar_iterations: false)
end
it 'does not include iterations endpoint' do
expect(options[:data]['iterations-endpoint']).to be(nil)
end
end
end
context 'when iterations are not available' do
......
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