Multiple Ticket Number Generators?

Moderator: crythias

Locked
marakuzmak
Znuny newbie
Posts: 4
Joined: 21 Dec 2010, 23:46
Znuny Version: 2.4.5

Multiple Ticket Number Generators?

Post by marakuzmak »

Hello,
My team uses two different OTRS email addresses for two different purposes. Each address generates a ticket I would like to use two different Ticket Number Generators, one for each queue. Does anyone know if this is possible?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Multiple Ticket Number Generators?

Post by crythias »

No.

Are you running two copies of OTRS (why?) ... You could have asigned a different email address to a different queue.
If you are using two different copies of OTRS, you could choose different SystemIDs and different TNGs.

Since every ticket number is unique in a single instance of OTRS, why would you need two different ticket schemes?
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
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: Multiple Ticket Number Generators?

Post by Wolfgangf »

This is not possible out of the box: one OTRS instance has one Ticket-Numbering Method
If you want to change this behaviour, you would have to change code somewhere in the area of

Code: Select all

opt/otrs/Kernel/System/Ticket/Number/
and take care for the correct number on follow-ups, ...
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
marakuzmak
Znuny newbie
Posts: 4
Joined: 21 Dec 2010, 23:46
Znuny Version: 2.4.5

Re: Multiple Ticket Number Generators?

Post by marakuzmak »

I am only running one instance of OTRS with two queues. The queue that the work gets assigned to is driven by email address that generates the ticket. The intention is to have the ability to identify tickets that reside in one of the queues without viewing the ticket. The two queues we have hold very different types of work and one is incredibly time sensitive. As it is now, our tickets are formatted as default (DateChecksum). What would be preferable is below.

Tickets created as a result of an email sent to standard_work@mail.com, which go to queue 'standard' should have their ticket number generated using the default DateChecksum module.

Tickets created as a result of an email sent to priority_work@mail.com, which go to queue 'priority' should have their ticket number generated using a module not yet created. Module will format ticket number similarly to that of DateChecksum (EX: 2010122210000158) with exception to the year. A static four letter prefix would replace the year at the beginning. EX: SUPP122210000158.

I apologize if I am being unclear in any way, I am on OTRS newb.

Thanks!
Mara
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Multiple Ticket Number Generators?

Post by crythias »

If your sender email address of the queue is different, will that help at all?
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
marakuzmak
Znuny newbie
Posts: 4
Joined: 21 Dec 2010, 23:46
Znuny Version: 2.4.5

Re: Multiple Ticket Number Generators?

Post by marakuzmak »

crythias: Are you talking about the email address of the person sending the email to the email addresses that create the tickets? ('standard_work@mail.com' and 'priority_work@mail.com')?


crythias wrote:If your sender email address of the queue is different, will that help at all?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Multiple Ticket Number Generators?

Post by crythias »

No, I'm talking about the email address you can assign to the queue as the send-from.
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
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Multiple Ticket Number Generators?

Post by crythias »

Maybe I'm not understanding...Where do you want to have the differentiation visible? In the email that an agent receives for the queue or in the dashboard?
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
marakuzmak
Znuny newbie
Posts: 4
Joined: 21 Dec 2010, 23:46
Znuny Version: 2.4.5

Re: Multiple Ticket Number Generators?

Post by marakuzmak »

We do have two different 'send from' email addresses. They drive what queue the ticket is placed in. I would like to make it so it also drives how the ticket number is generated.
crythias wrote:No, I'm talking about the email address you can assign to the queue as the send-from.
Preferable, the differentiation would be visible everywhere.
crythias wrote:Maybe I'm not understanding...Where do you want to have the differentiation visible? In the email that an agent receives for the queue or in the dashboard?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Multiple Ticket Number Generators?

Post by crythias »

You can't have two ticket number schemes without development.

Except for the dashboard (there are options available to show the queue in the dashboard from the howtos) every other place tells you what the queue is except for emails, and the emails [can] send from the queue's email address.
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
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Multiple Ticket Number Generators?

Post by jojo »

The easiest way would be to print the Queuename in the Subject Line of the notification (so no different numbering schemes would be needed). Please have a look on: http://faq.otrs.org/otrs/public.pl?Acti ... ItemID=186
"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
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: Multiple Ticket Number Generators?

Post by ferrosti »

As far as I get it this is all about priorities?
I´d rather go for a filter and set the priority to high or set an SLA in case 'To:' matches this address.
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
Locked