OTRS6 Tag Reference

Moderator: crythias

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

OTRS6 Tag Reference

Post by KojiOkano » 22 Feb 2018, 05:07

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
OTRS expert
Posts: 70
Joined: 25 Oct 2017, 16:21
OTRS Version?: 6.0.5

Re: OTRS6 Tag Reference

Post by lido » 22 Feb 2018, 14:00

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
OTRS newbie
Posts: 2
Joined: 08 Feb 2018, 08:09
OTRS Version?: 6.0.3
Real Name: Koji Okano
Company: Scope Inc.

Re: OTRS6 Tag Reference

Post by KojiOkano » 23 Feb 2018, 07:44

Hello lido.

That is the answer I want.
Thank you!! :D :D :D

JazzMed13
OTRS newbie
Posts: 34
Joined: 06 Apr 2016, 17:18
OTRS Version?: 5.0.6
Real Name: Jazmin Medina
Company: Private

Re: OTRS6 Tag Reference

Post by JazzMed13 » 07 Dec 2018, 00:50

and for the CI??

Somebody have any information about it

Post Reply