ee/app/services/ee/merge_requests/build_service.rb
# Set MR description based on project template
Set MR description based on project template
Set MR description based on project template
def assign_description_from_template
        return unless target_project.feature_available?(:issuable_default_templates) &&
            target_project.merge_requests_template.present?
        merge_request.description = target_project.merge_requests_template
        append_closes_description
      end
def assign_description_from_template return unless target_project . feature_available? ( :issuable_default_templates ) && target_project . merge_requests_template . present? merge_request . description = target_project . merge_requests_template append_closes_description end
Set MR description based on project template
Set MR description based on project template