Discussion:
[otrs] Is it possible to purge all tickets and start new without losing the config?
Paul Dale
2006-04-26 11:21:15 UTC
Permalink
Is there a way to purge all tickets and restart the numbering?

After testing I want to delete everything in the system except the
queues,users (config) and restart the number.

Additionally, is it possible to number from 1?

We would like to have a simple incremental number 1,2,3, etc ...

Thanks!

Paul
V***@de.mecglobal.com
2006-04-26 11:38:48 UTC
Permalink
yes it is, search mailinglist for numbergenerator.
the last given number is kept in a file that is named..... aaargh dont
remeber, search mailinglist.

Li
Post by Paul Dale
Is there a way to purge all tickets and restart the numbering?
After testing I want to delete everything in the system except the
queues,users (config) and restart the number.
Additionally, is it possible to number from 1?
We would like to have a simple incremental number 1,2,3, etc ...
Thanks!
Paul
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting f?r Ihr OTRS System?
=> http://www.otrs.de/
Yashpal Nagar
2006-04-26 11:48:43 UTC
Permalink
You need to config this in your condig file i.e <OTRS_HOME>/Kernel/Config.pm
##
$Self->{'Ticket::NumberGenerator'} =
'Kernel::System::Ticket::Number::AutoIncrement';
# Ticket::CounterLog
# counter log
$Self->{'Ticket::CounterLog'} =
'<OTRS_CONFIG_Home>/var/log/TicketCounter.log';
###
For more options look at the <OTRS_HOME>/Kernel/Config/Defaults.pm


<OTRS_HOME>/var/log/TicketCounter.log is the last ticket allocated.
Which you need to set 0 for next ticket to be 1 ;)

For more info look at the docs.
Yash
Post by V***@de.mecglobal.com
yes it is, search mailinglist for numbergenerator.
the last given number is kept in a file that is named..... aaargh dont
remeber, search mailinglist.
Li
Post by Paul Dale
Is there a way to purge all tickets and restart the numbering?
After testing I want to delete everything in the system except the
queues,users (config) and restart the number.
Additionally, is it possible to number from 1?
We would like to have a simple incremental number 1,2,3, etc ...
Thanks!
Paul
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting f?r Ihr OTRS System?
=> http://www.otrs.de/
------------------------------------------------------------------------
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/
Paul Dale
2006-04-26 12:07:54 UTC
Permalink
Thanks!

----- Original Message -----
From: "Yashpal Nagar" <***@linux-delhi.org>
To: "User questions and discussions about OTRS.org" <***@otrs.org>
Sent: Wednesday, April 26, 2006 1:48 PM
Subject: Re: [otrs] Is it possible to purge all tickets and start new
withoutlosing the config?
Post by Yashpal Nagar
You need to config this in your condig file i.e
<OTRS_HOME>/Kernel/Config.pm
Post by Yashpal Nagar
##
$Self->{'Ticket::NumberGenerator'} =
'Kernel::System::Ticket::Number::AutoIncrement';
# Ticket::CounterLog
# counter log
$Self->{'Ticket::CounterLog'} =
'<OTRS_CONFIG_Home>/var/log/TicketCounter.log';
###
For more options look at the <OTRS_HOME>/Kernel/Config/Defaults.pm
<OTRS_HOME>/var/log/TicketCounter.log is the last ticket allocated.
Which you need to set 0 for next ticket to be 1 ;)
For more info look at the docs.
Yash
Post by V***@de.mecglobal.com
yes it is, search mailinglist for numbergenerator.
the last given number is kept in a file that is named..... aaargh dont
remeber, search mailinglist.
Li
Post by Paul Dale
Is there a way to purge all tickets and restart the numbering?
After testing I want to delete everything in the system except the
queues,users (config) and restart the number.
Additionally, is it possible to number from 1?
We would like to have a simple incremental number 1,2,3, etc ...
Thanks!
Paul
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting f?r Ihr OTRS System?
=> http://www.otrs.de/
------------------------------------------------------------------------
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/
Loading...