New to Zammand Pls, guide how to change default to email for agent create new ticket

Infos:

  • Used Zammad version: 6.3.1-1719208095.8ca3e48a.jammy
  • Used Zammad installation type: Ubuntu installation
  • Operating system: Ubuntu 22.04.4 LTS
  • Browser + version: any

Expected behavior:

  • Change default new ticket creation to email

Actual behavior:

Steps to reproduce the behavior:

Based on Advanced customization settings — Zammad documentation

Hi, I’m very new to Zammad. I just got it installed and started using it for a few weeks. I want to change the default new ticket creation to email (default if received call) I searched and found the above link.

when I login (root) to ubuntu and type the command

Setting.set(‘ui_ticket_create_default_type’, ‘email-out’)

but it shows an error

-bash : syntax error near unexpected token `‘ui_ticket_create_default_type’,’

So, pls guide me how to command line before I can use

Setting.set(‘ui_ticket_create_default_type’, ‘email-out’)

Thank you

Please see this page:
https://docs.zammad.org/en/latest/admin/console.html

Also you may want to consider using the official documentation not third parties.

Many thanks for the suggestion. But i have no experience on ruby or rails.

So, based on root prompt should I enter the below command?

zammad run rails r ‘p Setting.set(‘ui_ticket_create_default_type’, ‘email-out’)’

The quotes are off.
zammad run rails r "p Setting.set('ui_ticket_create_default_type', 'email-out')" should do the job.
Run zammad run rails r "p Setting.get('ui_ticket_create_default_type')" to view the current setting.