[SOLVED] Close Ticket from e-mail

Moderator: crythias

Locked
netjess
Znuny expert
Posts: 172
Joined: 16 Nov 2011, 23:35
Znuny Version: 6.0.16
Real Name: Jesse
Company: Mercer Valve Company
Location: Oklahoma USA
Contact:

[SOLVED] Close Ticket from e-mail

Post by netjess »

Hello,

I have a Postmaster filter set up to close a ticket if a technician adds the word close to the subject.
In my log it appears that the filter is working but the status never changes to closed and the ticket remains in the queue.

Ideas?

Thank you.
You do not have the required permissions to view the files attached to this post.
Last edited by netjess on 15 Apr 2015, 21:58, edited 2 times in total.
Powered by OTRS 6
Active Directory LDAP Integration.
Ubuntu 18 LTS, Apache2, PostgreSQL.
netjess
Znuny expert
Posts: 172
Joined: 16 Nov 2011, 23:35
Znuny Version: 6.0.16
Real Name: Jesse
Company: Mercer Valve Company
Location: Oklahoma USA
Contact:

Re:[SOLVED] Close Ticket from e-mail

Post by netjess »

Okay,

I got this working.
I had to change the postmaster filter to change the email header X-OTRS-FollowUp-State rather than just the X-OTRS-State.

Enjoy.
You do not have the required permissions to view the files attached to this post.
Powered by OTRS 6
Active Directory LDAP Integration.
Ubuntu 18 LTS, Apache2, PostgreSQL.
netjess
Znuny expert
Posts: 172
Joined: 16 Nov 2011, 23:35
Znuny Version: 6.0.16
Real Name: Jesse
Company: Mercer Valve Company
Location: Oklahoma USA
Contact:

Re: [SOLVED] Close Ticket from e-mail

Post by netjess »

As a note, in the case the a ticket had the word open or close in the subject I changed the keyword for the Postmaster Filter to open# or close# so as not to be affected by the plain word.
I had tried $ symbol but for some reason that didn't parse properly in the filter and had no affect.

Enjoy.
Powered by OTRS 6
Active Directory LDAP Integration.
Ubuntu 18 LTS, Apache2, PostgreSQL.
schulmann
Znuny wizard
Posts: 477
Joined: 20 Nov 2011, 16:08
Znuny Version: 6.5.11
Real Name: Schulmann

Re: [SOLVED] Close Ticket from e-mail

Post by schulmann »

netjess wrote:As a note, in the case the a ticket had the word open or close in the subject I changed the keyword for the Postmaster Filter to open# or close# so as not to be affected by the plain word.
You could add an additional condition (for example the sender address) which must be satisfied.
I had tried $ symbol but for some reason that didn't parse properly in the filter and had no affect.
Postmaster filters are regular expressions.
In regular expressions the character "$" is interpreted and must be escaped by a backslash.
Znuny6/Debian/ESXi
Locked