Usable tags in event notification body for ticket type

Moderator: crythias

Post Reply
troffasky
Znuny newbie
Posts: 53
Joined: 04 Apr 2011, 15:38
Znuny Version: 3.2.8
Real Name: Alex Dekker

Usable tags in event notification body for ticket type

Post by troffasky »

I have ticket types enabled. I also have an event notification that emails every agent update like so:

Code: Select all

Owner: <OTRS_OWNER_UserFirstname> <OTRS_OWNER_UserLastname>
State: <OTRS_TICKET_State>
Queue: <OTRS_TICKET_Queue>
Type:  <OTRS_TICKET_TicketFreeText1>

Note added by <OTRS_CURRENT_UserFirstname> <OTRS_CURRENT_UserLastname>:
<OTRS_AGENT_Body>
I believe that <OTRS_TICKET_TicketFreeText1> is the correct tag for the ticket type, as it's the first free text field. However the emails come through with nothing after Type:. http://faq.otrs.org/otrs/public.pl?Acti ... ItemID=186 suggests that it's a valid tag, although I don't see any <OTRS_AGENT_ on that list, and they work fine, so I don't know how up to date that list is.
OTRS 3.2.8 on Ubuntu 12.04.2 LTS
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Usable tags in event notification body for ticket type

Post by crythias »

Why did you not try Type?
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
troffasky
Znuny newbie
Posts: 53
Joined: 04 Apr 2011, 15:38
Znuny Version: 3.2.8
Real Name: Alex Dekker

Re: Usable tags in event notification body for ticket type

Post by troffasky »

If you mean <OTRS_TICKET_Type>, I didn't use it because it didn't occur to me to use it, and because I haven't seen it listed anywhere. A google search turns up all of 0 hits for it [although this thread will appear in search results at some point, I'm sure].
OTRS 3.2.8 on Ubuntu 12.04.2 LTS
troffasky
Znuny newbie
Posts: 53
Joined: 04 Apr 2011, 15:38
Znuny Version: 3.2.8
Real Name: Alex Dekker

[SOLVED] Re: Usable tags in event notification body for tick

Post by troffasky »

Lo and behold <OTRS_TICKET_Type> is the correct tag to use.

Besides a lucky guess, how could I have discovered that without asking in here?
OTRS 3.2.8 on Ubuntu 12.04.2 LTS
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Usable tags in event notification body for ticket type

Post by crythias »

I just made a HowTo just to answer this question: http://forums.otrs.org/viewtopic.php?f=60&t=10762
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
MichaelR
Znuny expert
Posts: 250
Joined: 12 Oct 2010, 01:35
Znuny Version: 3.0.9
Company: LRS Health

Re: Usable tags in event notification body for ticket type

Post by MichaelR »

Excellent how-to, now I'll be including all this awesome stuff in my replies :D
OTRS: 3.0.9 & ITSM 3.0.4 - OS: Windows 7 - DB: MySQL - Heaps of random/useful hacks :)
[Major Code Changes]
ArticleFreeTime1-3
Ability to search ArticleFreeText
Post Reply