Change priority for tickets with attachment

Hi Guys,

we need an option to change the priority of a ticket when an article is created with attachment.
E.g. when a customer sends us a mail including a picture, the created ticket must have the priority 3.
I know there is no option in zammad configuration. But maybe it is just a little change in sourcecode.? Could someone help me?

Thank you in advance.
Jan

Used Zammad version: 2.5.x
Used Zammad installation source: deb-pakage
Operating system: Ubuntu 16.04
Browser + version: Firefox Quantum / Chrome

Expected behavior:

Actual behavior:

Steps to reproduce the behavior:

Zammad’s trigger cannot handle this at the moment. You’re free to take a look into the source code, but I know of know option that would do this.

Thanks for your reply. I’m new to ruby. Hoped someone would help me with changing the source code :sweat_smile:
Maybe it is just a little change at the function wich creates the articles:

\app\controllers\concerns\creates_ticket_articles.rb

add attachments as param

if params[:attachments].present?
  params[:attachments].each_with_index do |attachment, index|

Please note that this is out of my scope and not update save!

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.