Überischt zu allen <OTRS_*> Variabeln

Allgemein Fragen, deutsche News, Ankündigungen & Events zu Znuny
Locked
cmadoery
Znuny newbie
Posts: 84
Joined: 27 Jan 2011, 22:10
Znuny Version: 5.0.x
Company: AnyWeb AG
Location: Zürich, Switzerland

Überischt zu allen <OTRS_*> Variabeln

Post by cmadoery »

Findet man irgendwo eine Übersicht zu allen verfügbaren Variablen die man in einem Template benutzen kann?
Oder gibt es "nur" die unter aufgeführten?

Reference

You can use the following tags:

<OTRS_OWNER_*>
Ticket owner options (e. g. <OTRS_OWNER_UserFirstname>).
<OTRS_RESPONSIBLE_*>
Ticket responsible options (e. g. <OTRS_RESPONSIBLE_UserFirstname>).
<OTRS_CURRENT_*>
Options of the current user who requested this action (e. g. <OTRS_CURRENT_UserFirstname>).
<OTRS_TICKET_*>
Options of the ticket data (e. g. <OTRS_TICKET_TicketNumber>, <OTRS_TICKET_TicketID>, <OTRS_TICKET_Queue>, <OTRS_TICKET_State>).
<OTRS_TICKET_DynamicField_*>
Options of ticket dynamic fields internal key values ( e. g. <OTRS_TICKET_DynamicField_TestField>, <OTRS_TICKET_DynamicField_TicketFreeText1>).
<OTRS_TICKET_DynamicField_*_Value>
Options of ticket dynamic fields display values, useful for Dropdown and Multiselect fields ( e. g. <OTRS_TICKET_DynamicField_TestField_Value>, <OTRS_TICKET_DynamicField_TicketFreeText1_Value>).
<OTRS_CUSTOMER_DATA_*>
Options of the current customer user data (e. g. <OTRS_CUSTOMER_DATA_UserFirstname>).
<OTRS_CONFIG_*>
Config options (e. g. <OTRS_CONFIG_HttpType>).
OTRS 5.0.x, CentOS 6.6, MariaDB 10.1.20
cmadoery
Znuny newbie
Posts: 84
Joined: 27 Jan 2011, 22:10
Znuny Version: 5.0.x
Company: AnyWeb AG
Location: Zürich, Switzerland

Re: Überischt zu allen <OTRS_*> Variabeln

Post by cmadoery »

Ja das Subject ging in die Hose --> Übersicht <--
wohl ein Grippeopfer :(
OTRS 5.0.x, CentOS 6.6, MariaDB 10.1.20
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: Überischt zu allen <OTRS_*> Variabeln

Post by reneeb »

Eine solche Übersicht kann es nicht geben, weil vieles von der einzelnen Installation abhängt

OTRS_TICKET_* - alles was TicketGet liefert http://otrs.perl-services.de/docs/otrs/ ... icket.html
OTRS_CUSTOMER_DATA_* - alles was Du im Mapping für den Kundenbenutzer eingetragen hast
OTRS_TICKET_DynamicField_* - hängt total von Deiner Installation ab
OTRS_CONFIG_* - Alle Konfigoptionen das hängt auch von den installierten Paketen ab
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
cmadoery
Znuny newbie
Posts: 84
Joined: 27 Jan 2011, 22:10
Znuny Version: 5.0.x
Company: AnyWeb AG
Location: Zürich, Switzerland

Re: Überischt zu allen <OTRS_*> Variabeln

Post by cmadoery »

Danke!

Der erste Link bringt mich schon weiter:

Code: Select all

OTRS_TICKET_* - alles was TicketGet liefert http://otrs.perl-services.de/docs/otrs/ ... icket.html
OTRS 5.0.x, CentOS 6.6, MariaDB 10.1.20
Stoanze
Znuny newbie
Posts: 62
Joined: 15 Jan 2014, 10:53
Znuny Version: 3.3.10
Real Name: Stefan Steinhauser
Company: HERMOS AG
Location: Altötting - Bayern

Re: Überischt zu allen <OTRS_*> Variabeln

Post by Stoanze »

Kann dir jetzt nicht sagen wo ich dies her habe aber vielleicht ist was brauchbares dabei...

Code: Select all

OTRS Notification Tags 
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> 

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> 

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_Priority> 
<OTRS_TICKET_PriorityID> 
<OTRS_TICKET_Lock> 
<OTRS_TICKET_LockID> 
<OTRS_TICKET_Owner> 
<OTRS_TICKET_OwnerID> 
<OTRS_TICKET_Service> 
<OTRS_TICKET_ServiceID> 
<OTRS_TICKET_SLA> 
<OTRS_TICKET_SLAID> 
<OTRS_TICKET_FirstResponseTimeDestinationDate> 
  (date till the customer need to get a response) 
<OTRS_TICKET_FirstResponseTime> 
  (time till the customer need to get a response) 
<OTRS_TICKET_FirstResponseTimeWorkingTime> 
  (working time till the customer need to get a response) 
<OTRS_TICKET_UpdateTimeDestinationDate> 
  (date till the customer need to get an update) 
<OTRS_TICKET_UpdateTime> 
  (time till the customer need to get an update) 
<OTRS_TICKET_UpdateTimeWorkingTime> 
  (working time till the customer need to get an update) 
<OTRS_TICKET_SolutionTimeDestinationDate> 
  (date till the ticket need to be closed) 
<OTRS_TICKET_SolutionTime> 
  (time till the ticket need to be closed) 
<OTRS_TICKET_SolutionTimeWorkingTime> 
  (working time till the ticket need to be closed) 
<OTRS_TICKET_CustomerID> 
<OTRS_TICKET_CustomerUserID> 
<OTRS_TICKET_Created> 
<OTRS_TICKET_Changed> 
<OTRS_TICKET_TicketFreeKey1> 
<OTRS_TICKET_TicketFreeText1> 
<OTRS_TICKET_TicketFreeKey2> 
<OTRS_TICKET_TicketFreeText2> 
Grüße Stoanze

Produktiv: OTRS: 3.3.x
OS: Linux Debian
Apache + MySQL
Feature Add-On: TicketWatchlist & TicketWorkflow
Module: FAQ, iPhoneHandle, Support & MasterSlave
Testing: OTRS: 3.3.x
_________________________________________________________
OTRS 3.2.x
OS: Windows
IIS7 + MS-SQL
cmadoery
Znuny newbie
Posts: 84
Joined: 27 Jan 2011, 22:10
Znuny Version: 5.0.x
Company: AnyWeb AG
Location: Zürich, Switzerland

Re: Überischt zu allen <OTRS_*> Variabeln

Post by cmadoery »

Vielen Dank Stoanze 8)
OTRS 5.0.x, CentOS 6.6, MariaDB 10.1.20
Locked