diff --git a/app/models/merge_request.rb b/app/models/merge_request.rb index f90194041b1e5e1d20b00a564981bd91f82cee04..de0d541f1c79b70a8d17db319cac52bf6b7d13dc 100644 --- a/app/models/merge_request.rb +++ b/app/models/merge_request.rb @@ -682,9 +682,9 @@ class MergeRequest < ActiveRecord::Base if !include_description && closes_issues_references.present? message << "Closes #{closes_issues_references.to_sentence}" end - + message << "#{description}" if include_description && description.present? - message << "See merge request #{to_reference}" + message << "See merge request #{to_reference(full: true)}" message.join("\n\n") end