Commit 135d9b75 authored by Andy Soiron's avatar Andy Soiron Committed by James Fargher

Remove jira_connect_full_namespace_sync FF

Removes the jira_connect_full_namespace_sync
feature flag
parent 1f62c81e
......@@ -35,8 +35,6 @@ module JiraConnectSubscriptions
end
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|
JiraConnect::SyncProjectWorker.bulk_perform_in_with_contexts(
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
![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).
......
......@@ -49,18 +49,6 @@ RSpec.describe JiraConnectSubscriptions::CreateService do
subject
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
......
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