Commit 3df5effb authored by James Fargher's avatar James Fargher

Merge branch '281912_remove_jira_connect_full_namespace_sync_feature_flag' into 'master'

Remove jira_connect_full_namespace_sync feature flag

See merge request gitlab-org/gitlab!51341
parents d654bd28 135d9b75
...@@ -35,8 +35,6 @@ module JiraConnectSubscriptions ...@@ -35,8 +35,6 @@ module JiraConnectSubscriptions
end end
def schedule_sync_project_jobs def schedule_sync_project_jobs
return unless Feature.enabled?(:jira_connect_full_namespace_sync)
namespace.all_projects.each_batch(of: MERGE_REQUEST_SYNC_BATCH_SIZE) do |projects, index| namespace.all_projects.each_batch(of: MERGE_REQUEST_SYNC_BATCH_SIZE) do |projects, index|
JiraConnect::SyncProjectWorker.bulk_perform_in_with_contexts( JiraConnect::SyncProjectWorker.bulk_perform_in_with_contexts(
index * MERGE_REQUEST_SYNC_BATCH_DELAY, index * MERGE_REQUEST_SYNC_BATCH_DELAY,
......
---
title: Initially sync Merge Requests with Jira when a namespace is added through the
GitLab for Jira app
merge_request: 51341
author:
type: added
---
name: jira_connect_full_namespace_sync
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/43880
rollout_issue_url:
type: development
group: group::ecosystem
default_enabled: false
...@@ -272,7 +272,7 @@ The GitLab user only needs access when adding a new namespace. For syncing with ...@@ -272,7 +272,7 @@ The GitLab user only needs access when adding a new namespace. For syncing with
![Configure namespace on GitLab Jira App](img/jira_dev_panel_setup_com_3.png) ![Configure namespace on GitLab Jira App](img/jira_dev_panel_setup_com_3.png)
After a namespace is added, all future commits, branches, and merge requests of all projects under that namespace are synced to Jira. Past data cannot be synced at the moment. After a namespace is added, all future commits, branches, and merge requests of all projects under that namespace are synced to Jira. Past Merge Request data is initially synced. Past branch and commit data cannot be synced at the moment.
For more information, see [Usage](#usage). For more information, see [Usage](#usage).
......
...@@ -49,18 +49,6 @@ RSpec.describe JiraConnectSubscriptions::CreateService do ...@@ -49,18 +49,6 @@ RSpec.describe JiraConnectSubscriptions::CreateService do
subject subject
end end
context 'when the jira_connect_full_namespace_sync feature flag is disabled' do
before do
stub_feature_flags(jira_connect_full_namespace_sync: false)
end
specify do
expect(JiraConnect::SyncProjectWorker).not_to receive(:bulk_perform_in_with_contexts)
subject
end
end
end end
end end
......
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