Remove attachments when ticket is archived?

Moderator: crythias

Locked
bayerex
Znuny expert
Posts: 164
Joined: 03 Dec 2012, 00:30
Znuny Version: 3.2.7

Remove attachments when ticket is archived?

Post by bayerex »

Hi all,

Can I remove ticket attachments when a ticket is archived? I see no possibility in the SysConfig or the generic agent job apart from "CMD". Is there a command that could realise this? Or is there another way?

Many thanks in advance.
Current Production Server (recently switched from Windows)
OTRS 3.2.7 on Ubuntu 12.04LTS 64bit
PHP 5.3.10-1ubuntu3.6
mysql Ver 14.14 Distrib 5.5.31

Previous Production Server:
Windows 2008
MySQL 5.1.51 Community Server
Strawberry Perl 5.12.3.0
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Remove attachments when ticket is archived?

Post by reneeb »

There is a feature add-on that might fit for you: http://www.otrs.com/en/software/otrs-he ... tachments/

Or you may want to have a look at http://opar.perl-services.de/bin/index. ... ttachments this cannot (yet) delete all attachment at once, but it should be fairly simple to add this feature (patches welcome ;-) )
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked