Commit dc8c63b9 authored by Stan Hu's avatar Stan Hu

Merge branch '21140-enable-issue-perform-after-creation-tasks-async-default' into 'master'

Set issue_perform_after_creation_tasks_async feature flag to default

See merge request gitlab-org/gitlab!59040
parents f6386f66 6703a259
......@@ -38,7 +38,7 @@ module Issues
user_agent_detail_service.create
resolve_discussions_with_issue(issue)
if Feature.disabled?(:issue_perform_after_creation_tasks_async, issue.project)
if Feature.disabled?(:issue_perform_after_creation_tasks_async, issue.project, default_enabled: :yaml)
Issues::AfterCreateService
.new(issue.project, current_user)
.execute(issue)
......
......@@ -17,7 +17,7 @@ class NewIssueWorker # rubocop:disable Scalability/IdempotentWorker
issuable.create_cross_references!(user)
if Feature.enabled?(:issue_perform_after_creation_tasks_async, issuable.project)
if Feature.enabled?(:issue_perform_after_creation_tasks_async, issuable.project, default_enabled: :yaml)
Issues::AfterCreateService
.new(issuable.project, user)
.execute(issuable)
......
......@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/21140
milestone: '13.11'
type: development
group: group::geo
default_enabled: false
default_enabled: true
......@@ -31,7 +31,7 @@ module EE
private
def add_issue_sla(issue)
return if ::Feature.enabled?(:issue_perform_after_creation_tasks_async, issue.project)
return if ::Feature.enabled?(:issue_perform_after_creation_tasks_async, issue.project, default_enabled: :yaml)
return unless issue.sla_available?
::IncidentManagement::Incidents::CreateSlaService.new(issue, current_user).execute
......
---
title: Set issue_perform_after_creation_tasks_async feature flag to default
merge_request: 59040
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