Reopen pending ticket if article added [SOLVED]

Moderator: crythias

Post Reply
rodolfor
Znuny newbie
Posts: 89
Joined: 11 Jun 2020, 14:56
Znuny Version: 6.0.27
Real Name: Rodolfo Rughi
Company: none

Reopen pending ticket if article added [SOLVED]

Post by rodolfor »

Hi all.
I need to automatically change the state of a ticket to open, if it is pending, and someone add an article (a note, the customer doing a Re:, etc).

I tried to add a job in Generic Agent, activated by the event "Article Create".
But the same article I create to suspend the ticket, reopen it immediately.

How can I do?

Thanks
- rod
Last edited by rodolfor on 21 Apr 2023, 08:39, edited 1 time in total.
lis9
Znuny newbie
Posts: 55
Joined: 13 Apr 2017, 11:27
Znuny Version: 6.5.4
Real Name: Daniel
Company: Komputronik S.A.

Re: Reopen pending ticket if article added

Post by lis9 »

You can change default state on new note screen: Ticket::Frontend::AgentTicketNote###StateDefault it will change state to open when new note is added. This setting is available to almost every dialog: emails, phone, e.t.c

Ticket state, that is updated by customer's responds by email, can be change in email filter - you can set X-OTRS-State to open when incoming email meets your conditions.

Daniel Lisiecki
rodolfor
Znuny newbie
Posts: 89
Joined: 11 Jun 2020, 14:56
Znuny Version: 6.0.27
Real Name: Rodolfo Rughi
Company: none

Re: Reopen pending ticket if article added [SOLVED]

Post by rodolfor »

Thanks lis9 it works!
Post Reply