Hello,
Is there a way to erase (physically) a ticket from OTRS?
Is there a way to erase (physically) an attachment from a ticket in OTRS (considering attached files usually take many Mb)?
Regards,
HervE
[SOLVED] Erase a ticket / erase an attachment
Moderator: crythias
[SOLVED] Erase a ticket / erase an attachment
Last edited by HervE on 05 Jan 2011, 10:20, edited 1 time in total.
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
Re: Erase a ticket / erase an attachment
Yes, you can do this via GenericAgent.HervE wrote: Is there a way to erase (physically) a ticket from OTRS?
I've tried this before and it's a tricky business. In the database, attachments are related to tickets via the article table to the article_attachment table. Off the top of my head, I can't remember if there are more relationships to take into consideration, but it involves an awful lot of unpicking, and you may end up killing the relational integrity of your database.HervE wrote: Is there a way to erase (physically) an attachment from a ticket in OTRS (considering attached files usually take many Mb)?
You can easily switch attachment storage from the database to the filesystem (see the admin manual for details). Once the articles are on the filesystem, you can more easily allocate additional storage space to accommodate them.
OTRS 3.2.11 on Centos 6.4 with MySQL 5.0. Agents and internal customers authenticate via Active Directory.
Re: Erase a ticket / erase an attachment
Thank you for your answer.
Sorry but I am new, and I don't know about "GenericAgent".
HervE
How?Mothra wrote:Yes, you can do this via GenericAgent.HervE wrote: Is there a way to erase (physically) a ticket from OTRS?
Sorry but I am new, and I don't know about "GenericAgent".
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
Re: Erase a ticket / erase an attachment
Please read Admin manual first: http://doc.otrs.org/2.4/en/html/x1471.html
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Erase a ticket / erase an attachment
Thank you.
I suceeded.
Hervé
I suceeded.
Hervé
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
-
- Znuny newbie
- Posts: 6
- Joined: 24 May 2011, 18:37
- Znuny Version: 3.0.7
- Real Name: Melquisedec Uscategui
- Company: Información y Tecnología S.A.
Re: Erase a ticket / erase an attachment
Hi, could you help me, i really can't erase it, how could I set the generic agent?HervE wrote:Thank you.
I suceeded.
Hervé
Thanks
Re: [SOLVED] Erase a ticket / erase an attachment
Hi,
Go to ADMIN menu, then GenericAgent (in System Administration section).
Add Job, then make the appropriate Ticket Filter.
Then under Ticket Commands, set Delete Tickets to Yes. (Be careful to what you are doing!)
Regards,
HervE
Go to ADMIN menu, then GenericAgent (in System Administration section).
Add Job, then make the appropriate Ticket Filter.
Then under Ticket Commands, set Delete Tickets to Yes. (Be careful to what you are doing!)
Regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
-
- Znuny newbie
- Posts: 6
- Joined: 24 May 2011, 18:37
- Znuny Version: 3.0.7
- Real Name: Melquisedec Uscategui
- Company: Información y Tecnología S.A.
Re: [SOLVED] Erase a ticket / erase an attachment
Thanks, I success.
Regards
Regards