Use QueueID when creating a ticket

Moderator: crythias

Locked
jano
Znuny newbie
Posts: 10
Joined: 16 May 2012, 16:42
Znuny Version: 3.1.4

Use QueueID when creating a ticket

Post by jano »

Hello all,

First of all, It is most probably that this question has been asked earlier but I have been unable to find an answer.

Second, I am completelly new to otrs.

The thing is as follows.

I have installed OTRS 3.1.4 and I would like that when creating email tickets, the ticket uses the QueueID as part of the ticket.

An example:

Lets supose that we have some countries as queues (France, Spain, England, Italy,...) so when creating a ticket and choosing the queue it is going to be, the ticket should have the name of the country on it.

If I choose France -> France+ date+autoincrement_field
if I choose England -> England+date+autoincrement_field
...

I am working with the /opt/otrs/Kernel/System/Ticket/Number/Date.pm file as base file, I will try to create later an specific file for this.

I have been unable to get the QueueID from the AgentTicketEmail.

I have tried: my $QueueID = $Self->{ParamObject}->GetParam( Param => 'QueueID' ); and some other options but nothing.

I am a bit lost, and have to say that my knowledge in perl is basic.

Could someone help me?

Thanks for your time
jano
Znuny newbie
Posts: 10
Joined: 16 May 2012, 16:42
Znuny Version: 3.1.4

Re: Use QueueID when creating a ticket

Post by jano »

No one?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Use QueueID when creating a ticket

Post by jojo »

this requires development
"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
Locked