Change the default link to the ticket

Moderator: crythias

Locked
Daras1986
Znuny newbie
Posts: 29
Joined: 29 Mar 2012, 22:41
Znuny Version: 3.1.11
Real Name: Dariusz

Change the default link to the ticket

Post by Daras1986 »

Default address to the ticket is - Action=AgentTicketZoom;TicketID=$QData{"TicketID"}

I would like it to be - Action=AgentTicketZoom;TicketNumber=$QData{"TicketNumber"}

How Can I change this?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Change the default link to the ticket

Post by reneeb »

Where should it be the default address? In notifications, in Links within webapp?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Daras1986
Znuny newbie
Posts: 29
Joined: 29 Mar 2012, 22:41
Znuny Version: 3.1.11
Real Name: Dariusz

Re: Change the default link to the ticket

Post by Daras1986 »

The notifications have I done.
I want to do in the agent interface.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Change the default link to the ticket

Post by jojo »

this should not possible without development and is not needed
"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
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Change the default link to the ticket

Post by reneeb »

@Jojo: The code to resolve the TicketNumber instead of the TicketID is already there...

@Daras1986: You have to change the tags in your notification templates from

Code: Select all

<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom;TicketID=<OTRS_TICKET_TicketID>
to

Code: Select all

<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom;TicketNumber=<OTRS_TICKET_TicketNumber>
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Change the default link to the ticket

Post by jojo »

as he already wrote he changed in the notifications already... and in the agent interface it needs to be changed via 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
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Change the default link to the ticket

Post by reneeb »

I read too fast ;-) Jojo++
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked