20221014093134_ticket_hook_setting_description.rb 643 B

1234567891011121314151617
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class TicketHookSettingDescription < ActiveRecord::Migration[6.1]
  3. def up
  4. # return if it's a new setup
  5. return if !Setting.exists?(name: 'system_init_done')
  6. Setting
  7. .find_by(name: 'ticket_hook_position')
  8. .update(description: <<~HTML.chomp)
  9. The format of the subject.
  10. * **Right** means **Some Subject [Ticket#12345]**
  11. * **Left** means **[Ticket#12345] Some Subject**
  12. * **None** means **Some Subject** (without ticket number), in which case it recognizes follow-ups based on email headers.
  13. HTML
  14. end
  15. end