OTRS6 Tag Reference

Moderator: crythias

Post Reply
KojiOkano
Znuny newbie
Posts: 2
Joined: 08 Feb 2018, 08:09
Znuny Version: 6.0.3
Real Name: Koji Okano
Company: Scope Inc.

OTRS6 Tag Reference

Post by KojiOkano »

Hello,

Can I refer OTRS version 6 tag on web site?

ex. <OTRS_TICKET_*>

I can show Tag refernce of OTRS5 on web site.
(but, I think that's not official OTRS on many sites.)
lido
Znuny newbie
Posts: 70
Joined: 25 Oct 2017, 16:21
Znuny Version: 6.0.5

Re: OTRS6 Tag Reference

Post by lido »

Not sure if this is what you want, but here's a list taken from https://portal.otrs.com/otrs/customer.p ... ;ItemID=70

Note that there's no version indication so I'm not sure if all tags that are available on version 6 are listed. It should still be most of what is usually needed.
a) All params of the latest customer article:
<OTRS_CUSTOMER_*> e. g.

<OTRS_CUSTOMER_SUBJECT[18]>
<OTRS_CUSTOMER_EMAIL[16]>
<OTRS_CUSTOMER_From>
<OTRS_CUSTOMER_To>
<OTRS_CUSTOMER_Cc>
<OTRS_CUSTOMER_Subject>
<OTRS_CUSTOMER_Body>
<OTRS_CUSTOMER_REALNAME>
<OTRS_CUSTOMER_UserTitle>
[...]

Also possibe but depends on used action:
<OTRS_CUSTOMER_Comment> (for note or owner update comments)
[...]

b) All possible OTRS config settings:
<OTRS_CONFIG_*> e. g.
<OTRS_CONFIG_HttpType>
<OTRS_CONFIG_FQDN>
<OTRS_CONFIG_ScriptAlias>
[...]

c) Ticket owner options:
<OTRS_OWNER_*> e. g.
<OTRS_OWNER_UserFirstname>
<OTRS_OWNER_UserLastname>
<OTRS_OWNER_UserSalutation>
<OTRS_OWNER_UserLogin>
<OTRS_OWNER_UserEmail>
<OTRS_OWNER_UserComment>
[...]

d) Ticket responsible options:
<OTRS_RESPONSIBLE_*> e. g.
<OTRS_RESPONSIBLE_UserFirstname>
<OTRS_RESPONSIBLE_UserLastname>
<OTRS_RESPONSIBLE_UserSalutation>
<OTRS_RESPONSIBLE_UserLogin>
<OTRS_RESPONSIBLE_UserEmail>
<OTRS_RESPONSIBLE_UserComment>
[...]

e) Options of the current user who requested this action:
<OTRS_CURRENT_*> e. g.
<OTRS_CURRENT_UserFirstname>
<OTRS_CURRENT_UserLastname>
<OTRS_CURRENT_UserSalutation>
<OTRS_CURRENT_UserLogin>
<OTRS_CURRENT_UserEmail>
<OTRS_CURRENT_UserComment>
[...]

f) Options of the current customer user data of this ticket:
<OTRS_CUSTOMER_DATA_*> e. g.
<OTRS_CUSTOMER_DATA_UserFirstname>
<OTRS_CUSTOMER_DATA_UserLastname>
<OTRS_CUSTOMER_DATA_UserLogin>
<OTRS_CUSTOMER_DATA_UserCustomerID>
<OTRS_CUSTOMER_DATA_UserEmail>
<OTRS_CUSTOMER_DATA_CustomerCompanyName>
[...]

Note: For more tags have a look into your "CustomerUser" Kernel/Config.pm
options. All tags under "Map => [...]" are possible.

g) Options of the ticket data:
<OTRS_TICKET_*> e. g.
<OTRS_TICKET_TicketNumber>
<OTRS_TICKET_TicketID>
<OTRS_TICKET_Title>
<OTRS_TICKET_Queue>
<OTRS_TICKET_QueueID>
<OTRS_TICKET_State>
<OTRS_TICKET_StateID>
<OTRS_TICKET_StateType>
<OTRS_TICKET_Type>
<OTRS_TICKET_Priority>
<OTRS_TICKET_PriorityID>
<OTRS_TICKET_Lock>
<OTRS_TICKET_LockID>
<OTRS_TICKET_Owner>
<OTRS_TICKET_OwnerID>
<OTRS_TICKET_Responsible>
<OTRS_TICKET_ResponsibleID>
<OTRS_TICKET_CustomerID>
<OTRS_TICKET_CustomerUserID>
<OTRS_TICKET_UntilTime> (Pending Time in seconds)
<OTRS_TICKET_Created>
<OTRS_TICKET_Changed>
<OTRS_TICKET_TicketFreeKey1>
<OTRS_TICKET_TicketFreeText1>
<OTRS_TICKET_TicketFreeKey2>
<OTRS_TICKET_TicketFreeText2>
<OTRS_TICKET_TicketFreeKey3>
<OTRS_TICKET_TicketFreeText3>
<OTRS_TICKET_TicketFreeKey4>
<OTRS_TICKET_TicketFreeText4>
<OTRS_TICKET_TicketFreeKey5>
<OTRS_TICKET_TicketFreeText5>
<OTRS_TICKET_TicketFreeKey6>
<OTRS_TICKET_TicketFreeText6>
<OTRS_TICKET_TicketFreeKey7>
<OTRS_TICKET_TicketFreeText7>
<OTRS_TICKET_TicketFreeKey8>
<OTRS_TICKET_TicketFreeText8>
<OTRS_TICKET_TicketFreeTime1>
<OTRS_TICKET_TicketFreeTime2>

h) options of the Change Management:
<OTRS_CONFIG_ITSMChange::Hook>
[...]

<OTRS_CHANGE_ChangeID>
<OTRS_CHANGE_ChangeNumber>
<OTRS_CHANGE_ChangeTitle>
<OTRS_CHANGE_ChangeState>
[...]

<OTRS_WORKORDER_WorkOrderID>
<OTRS_WORKORDER_WorkOrderNumber>
<OTRS_WORKORDER_WorkOrderTitle>
<OTRS_WORKORDER_WorkOrderState>
<OTRS_WORKORDER_WorkOrderType>
[...]

<OTRS_CHANGEBUILDER_UserFirstname>
[...]

<OTRS_CHANGEMANAGER_UserFirstname>
[...]

<OTRS_WORKORDERAGENT_UserFirstname>
[...]

<OTRS_CONDITION_ConditionID>
<OTRS_CONDITION_ConditionName>
<OTRS_CONDITION_ActionID>
<OTRS_CONDITION_ActionResult>
[...]


i) options of the FAQ:
<OTRS_FAQ_NUMBER>
<OTRS_FAQ_CATEGORYID>
<OTRS_FAQ_CATEGORY>
<OTRS_FAQ_LANGUAGE>
<OTRS_FAQ_ITEMID>
<OTRS_FAQ_NUMBER>
<OTRS_FAQ_TITLE>
<OTRS_FAQ_AUTHOR>
<OTRS_FAQ_STATE>
[...]

j) options of the Dynamic-Fields
<OTRS_TICKET_DynamicField_$Fieldname>
For Example: <OTRS_TICKET_DynamicField_Checkbox01>
Cheers
KojiOkano
Znuny newbie
Posts: 2
Joined: 08 Feb 2018, 08:09
Znuny Version: 6.0.3
Real Name: Koji Okano
Company: Scope Inc.

Re: OTRS6 Tag Reference

Post by KojiOkano »

Hello lido.

That is the answer I want.
Thank you!! :D :D :D
JazzMed13
Znuny newbie
Posts: 39
Joined: 06 Apr 2016, 17:18
Znuny Version: 6.0.4
Real Name: Jazmin Medina
Company: Private

Re: OTRS6 Tag Reference

Post by JazzMed13 »

and for the CI??

Somebody have any information about it
eriksonlima
Znuny newbie
Posts: 4
Joined: 18 Jan 2019, 21:59
Znuny Version: 6 free

Re: OTRS6 Tag Reference

Post by eriksonlima »

Hello,

Do you know how to display the customer name of a customer associated with the customer user?
dnunes91
Znuny newbie
Posts: 3
Joined: 22 Mar 2022, 21:39
Znuny Version: 6.0.30
Real Name: Diogo Nunes

Re: OTRS6 Tag Reference

Post by dnunes91 »

Can you indicate if there is a TAG that we can for example, in an answer depending on the time of day, change from Good Morning to Good Afternoon and Good Night?
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OTRS6 Tag Reference

Post by root »

dnunes91 wrote: 25 Mar 2022, 17:30 Can you indicate if there is a TAG that we can for example, in an answer depending on the time of day, change from Good Morning to Good Afternoon and Good Night?
Hi,

I'm sorry but there is no tag for this.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply