diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-20 14:36:54 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-20 14:36:54 +0000 |
commit | f61bb2a16a514b71bf33aabbbb999d6732016a24 (patch) | |
tree | 9548caa89e60b4f40b99bbd1dac030420b812aa8 /app/workers/new_issue_worker.rb | |
parent | 35fc54e5d261f8898e390aea7c2f5ec5fdf0539d (diff) | |
download | gitlab-ce-f61bb2a16a514b71bf33aabbbb999d6732016a24.tar.gz |
Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc42
Diffstat (limited to 'app/workers/new_issue_worker.rb')
-rw-r--r-- | app/workers/new_issue_worker.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/workers/new_issue_worker.rb b/app/workers/new_issue_worker.rb index be9a168c3f6..c08f4b4cd75 100644 --- a/app/workers/new_issue_worker.rb +++ b/app/workers/new_issue_worker.rb @@ -14,7 +14,12 @@ class NewIssueWorker # rubocop:disable Scalability/IdempotentWorker ::EventCreateService.new.open_issue(issuable, user) ::NotificationService.new.new_issue(issuable, user) + issuable.create_cross_references!(user) + + Issues::AfterCreateService + .new(issuable.project, user) + .execute(issuable) end def issuable_class |