[otrs] Show ticket URL in a response

148 views
Skip to first unread message

Claudio Tassini

unread,
Mar 25, 2010, 1:18:07 PM3/25/10
to User questions and discussions about OTRS.
Hi guys,

is there a variable containing the full URL of a ticket? I would need an auto-response in which to insert the full ticket URL so that the customer can simply click in the mail and be redirected to the ticket page (after authentication, obviously). 

Alternatively, could it be possible to append parameters to customer.pl to open a ticket as soon as the user logs in? Something like: https://support.isp.com/otrs/customer.pl?ticketid=1000123 

Many thanks in advance.

--
Claudio Tassini

JEWETT Boyd

unread,
Mar 25, 2010, 4:37:02 PM3/25/10
to User questions and discussions about OTRS.

I have configured this for all notifications on my OTRS server you need to put this into the body wherever you would like it to be:

 

Ticket Link:  <OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>customer.pl?Action=CustomerZoom&TicketID=<OTRS_TICKET_TicketID>

 

This will allow the customer to click on the link and after logging in go straight to the ticket.

 

With regards,

Boyd

Claudio Tassini

unread,
Apr 7, 2010, 8:23:41 AM4/7/10
to User questions and discussions about OTRS.
Thank you for your reply, the URL seem to work but I still have a couple of problems:

First of all, using he format you suggested, I got this text in the resulting mail:

https://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>customer.pl?Action=CustomerZoom&TicketID=-

in other words, it seems that the second and the third variables are not extracted correctly. Do they need to be "escaped" somehow?

Second, I've set up an auto response of type "auto reply", but it seems that the <OTRS_TICKET_TicketID> variable is not available because it is always substituted with the character "-" . Other variables are substituted correctly, including <OTRS_TICKET_TicketNumber>. Is that normal?

2010/3/25 JEWETT Boyd <Boyd....@swift.com>
---------------------------------------------------------------------
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

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/



--
Claudio Tassini
Reply all
Reply to author
Forward
0 new messages