How to delete a configitem(CI) or a ticket?

Moderator: crythias

Locked
ancery
Znuny newbie
Posts: 2
Joined: 02 Nov 2010, 03:17
Znuny Version: 2.4

How to delete a configitem(CI) or a ticket?

Post by ancery »

i want to delete a CI created for testing, is it possible?

or maybe delete a ticket?

i use otrs 2.4.9 and itsm 2.1.1

Help please!.
Regards
Thanks.
kinunt
Znuny newbie
Posts: 5
Joined: 14 Sep 2012, 17:55
Znuny Version: 3.1.10

Re: How to delete a configitem(CI) or a ticket? [SOLVED]

Post by kinunt »

I would like to know the answer to this question but referring only to configitems (CIs). How can I delete a ConfigItem? I don't want to use Change Management because it is just a CI created that is duplicated and never existed. I have searched the forum and the manual but I had not find the answer.

Is the only solution deleting it from the database directly? I think this is very dangerous for integrity.
Last edited by kinunt on 15 Sep 2012, 15:58, edited 1 time in total.
kinunt
Znuny newbie
Posts: 5
Joined: 14 Sep 2012, 17:55
Znuny Version: 3.1.10

Re: How to delete a configitem(CI) or a ticket?

Post by kinunt »

It is possible to delete 1 or multiple ConfigItems with a script:

Code: Select all

kinunt@debian:/opt/otrs/bin$ perl otrs.ITSMConfigItemDelete.pl --ConfigItemNumber 1032000001
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to delete a configitem(CI) or a ticket?

Post by crythias »

use generic agent to delete a ticket.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked