Delete the tickets

Moderator: crythias

Locked
magnetmo
Znuny newbie
Posts: 26
Joined: 17 Aug 2015, 11:48
Znuny Version: 2.3.6

Delete the tickets

Post by magnetmo »

Hi,
Am Currently Using OTRS 5.0.2, I want to delete the some unnecessary tickets I can able to delete the tickets from my PHPMyAdmin But I want to delete from my dashboard. Is there any option to delete the tickets? How should i do that.
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Delete the tickets

Post by RStraub »

I think the best practice is to create a generic agent that deletes the tickets for you.

Or even better: First moves them to a "to be deleted" queue and another GA then later deletes them.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
magnetmo
Znuny newbie
Posts: 26
Joined: 17 Aug 2015, 11:48
Znuny Version: 2.3.6

Re: Delete the tickets

Post by magnetmo »

Hi, Thanks for your reply, When I open in my dashboard, It shows these messages
'OTRS 5.0.5 is available! Please update now. (Release Note - Level: Minor)
OTRS 5.0.4 is available! Please update now. (Release Note - Level: Minor)
OTRS 5.0.3 is available! Please update now. (Release Note - Level: Minor) '

When I go with corressponding link There only full release zip file is available. After I download and see the Upgrade document, They asked to follow to this instruction '(http://otrs.github.io/doc/manual/admin/ ... ading.html)'. Now I want to Upgrade from 5.0.2 to 5.0.3 and 5.0.3 to 5.0.4, and 5.0.4 to 5.0.5 and so on. How should I do this. Any Reference please.
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Delete the tickets

Post by RStraub »

You can directly go to the latest. And you linked the correct manual, where it tells you what to do.

Where exactly do you stumble?
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
johnhastings
Znuny newbie
Posts: 2
Joined: 02 Feb 2016, 07:36
Znuny Version: 5.0.5
Contact:

Re: Delete the tickets

Post by johnhastings »

Hello everyone
u can delete the ticket go to view the ticket and click the button delete it will be automatically deleted.
rvaldomir
Znuny expert
Posts: 155
Joined: 04 Aug 2014, 23:59
Znuny Version: 3.3.8
Real Name: Roberto A. Valdomir

Re: Delete the tickets

Post by rvaldomir »

also in bin folder you have a pl script otrs.TicketDelete.pl

Code: Select all

[otrs@fzdotrs01 bin]$ ./otrs.TicketDelete.pl --help

otrs.TicketDelete.pl - delete tickets by number.
Copyright (C) 2001-2014 xxx, http://otrs.com/

Usage: ./otrs.TicketDelete.pl [options]

  Options are as follows:
  --help                             display this option help
  --TicketNumber no1 no2 no3         delete listed tickets (by ticket number)
  --TicketID no1 no2 no3             delete listed tickets (by ticket id)

[otrs@fzdotrs01 bin]$
I have modified it to delete by queues it is easy.
​Roberto A. Valdomir
Mobile: (+598) 93 868 147 | Skype: roberto.a.valdomir
@roberto.valdomir | re.vu/robertovaldomir

----------------------------------------------------------------------------------------
OTRS 3.3.8 | RHEL 6 x64 | Oracle 11g | Custom Development by OTRS365
Locked