Ticket reopened by followup from copied person

English! place to talk about development, programming and coding
Post Reply
flippertom
Znuny advanced
Posts: 120
Joined: 16 Apr 2015, 08:42
Znuny Version: 3.2.16

Ticket reopened by followup from copied person

Post by flippertom »

Hello,

We are using OTRS 5.
Tickets get reopened after a followup from someone who was in copy of the ticket reply.
This seems wrong as only the customer email should reopen the ticket.
How to go about the development of this functionality?

Regards,
Tom.
kropek
Znuny newbie
Posts: 14
Joined: 11 Jul 2019, 10:39
Znuny Version: 6.0.22
Real Name: Filip
Company: Best-IT

Re: Ticket reopened by followup from copied person

Post by kropek »

I would try filter incoming email by adding a filter:
Search header field: CC
Value: your-helpdesk-mail@domain.com
and set
X-OTRS-Ignore
yes
Done!
It will ignore all, so i assume that all ticket come with your domain in TO field.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Ticket reopened by followup from copied person

Post by root »

Hi,

You need a Pre-Filter which checks if the sender of the e-mail is the CustomerUser of the ticket if it's a FollowUp. If the e-mail is a FollowUp, the ticket is in a closed state and the sender not the CustomerUser the e-mail can be ignored. Optionally, you let pass the e-mails and add the X-OTRS-Keep-State header.
Your filter needs to run after the existing FollowUp filter.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply