[Solved] Delete ITSM Change

Moderator: crythias

Post Reply
tina
OTRS newbie
Posts: 48
Joined: 10 Apr 2012, 17:59
OTRS Version?: 3.2.1
Real Name: boutayna

[Solved] Delete ITSM Change

Post by tina » 19 Apr 2012, 16:35

Hi,
I would like to know if it is possible to delete ITSM Change in OTRS?
I search in interface and I didn't find anyway to do it?
it is very important to me to delete some data because in my first use I just put exemple data not real,
Last edited by tina on 13 Jun 2012, 10:15, edited 1 time in total.

jojo
Moderator
Posts: 14571
Joined: 26 Jan 2007, 14:50
OTRS Version?: Git Master
Contact:

Re: Delete ITSM Change

Post by jojo » 19 Apr 2012, 20:06

have a look on the shell in the OTRS bin directory. There is a Perl script for deleting changes
"Production": OTRS™ 6, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com :: Share your ideas

micshi
OTRS wizard
Posts: 191
Joined: 05 Jul 2011, 16:10
OTRS Version?: 3.2.2
Real Name: Micshi
Location: Beijing
Contact:

Re: Delete ITSM Change

Post by micshi » 20 Apr 2012, 03:16

Enable ChangeDelete menu from sysconfig.

ITSMChange::Frontend::MenuModule###100-ChangeDelete

Only the change manager can delete the changes which state is not in 'requested' or 'pending approval'.
OTRS 3.2.2, ITSM 3.2.2, SystemMonitor
Ubuntu, Apache2, MySQL 5
My OTRS Blog
OTRS Basic Concept Training
OTRS Demo Instance

jojo
Moderator
Posts: 14571
Joined: 26 Jan 2007, 14:50
OTRS Version?: Git Master
Contact:

Re: Delete ITSM Change

Post by jojo » 20 Apr 2012, 08:06

thats why you should use the script in bin
"Production": OTRS™ 6, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com :: Share your ideas

tina
OTRS newbie
Posts: 48
Joined: 10 Apr 2012, 17:59
OTRS Version?: 3.2.1
Real Name: boutayna

Re: Delete ITSM Change

Post by tina » 20 Apr 2012, 11:17

Hi,
I enabled ChangeDelete menu from sysconfig,
but when I try to delete the following error appear "error ajax during communication"

apache log:
ERROR: OTRS-CGI-10 Perl: 5.12.3 OS: MSWin32 Time: Fri Apr 20 09:08:07 2012
Message: Module Kernel::Modules::AgentITSMChangeDelete not registered in Kernel/Config.pm!

otrs log:
[Error][Kernel::System::Web::InterfaceAgent::Run][731] Module Kernel::Modules::AgentITSMChangeDelete not registered in Kernel/Config.pm!

tina
OTRS newbie
Posts: 48
Joined: 10 Apr 2012, 17:59
OTRS Version?: 3.2.1
Real Name: boutayna

Re: Delete ITSM Change

Post by tina » 20 Apr 2012, 11:37

I use OTRS.3.1.3

Rmack09
OTRS newbie
Posts: 42
Joined: 28 Jan 2011, 15:37
OTRS Version?: 3_1_3
Real Name: Mack

Re: Delete ITSM Change

Post by Rmack09 » 23 Apr 2012, 21:33

Try This
To delete a ITSM Change:

Go to your OTRS bin folder (i.e /opt/otrs/bin)
Then use the following command ./otrs.ITSMChangeDelete.pl --ChangeNumber (i.e ./otrs.ITSMChangeDelete.pl --ChangeNumber 2012042310000024)

Please sure you know the correct Change number you would like to delete.
OTRS Ver. 3.1.3 on Ubuntu 10.04 with MySQL database 5.1.49

tina
OTRS newbie
Posts: 48
Joined: 10 Apr 2012, 17:59
OTRS Version?: 3.2.1
Real Name: boutayna

Re: Delete ITSM Change

Post by tina » 24 Apr 2012, 10:40

Ok thank you,I will try this,
but I would like to know if there is any solution for this bug?

Rmack09
OTRS newbie
Posts: 42
Joined: 28 Jan 2011, 15:37
OTRS Version?: 3_1_3
Real Name: Mack

Re: Delete ITSM Change

Post by Rmack09 » 24 Apr 2012, 14:43

As far as I know this may not be a bug. It could be that this feature is not fully configured in your system.
OTRS Ver. 3.1.3 on Ubuntu 10.04 with MySQL database 5.1.49

tina
OTRS newbie
Posts: 48
Joined: 10 Apr 2012, 17:59
OTRS Version?: 3.2.1
Real Name: boutayna

Re: Delete ITSM Change

Post by tina » 24 Apr 2012, 14:46

what should I do to fix this error ?

Rmack09
OTRS newbie
Posts: 42
Joined: 28 Jan 2011, 15:37
OTRS Version?: 3_1_3
Real Name: Mack

Re: Delete ITSM Change

Post by Rmack09 » 30 Apr 2012, 18:07

I dont believe there is a way to fix that. I find that deleting a Change Request is much easier via command line
OTRS Ver. 3.1.3 on Ubuntu 10.04 with MySQL database 5.1.49

tina
OTRS newbie
Posts: 48
Joined: 10 Apr 2012, 17:59
OTRS Version?: 3.2.1
Real Name: boutayna

Re: Delete ITSM Change

Post by tina » 13 Jun 2012, 10:15

the solution to delete ITSMChange is that you should also enable changeDelete in Sysconfig

Frontend::Module###AgentITSMChangeDelete

and I want to thank the OTRS team for that amazing work :)

Post Reply