diff --git a/locale/admin-docs.pot b/locale/admin-docs.pot index 49d94e308..91ace9b40 100644 --- a/locale/admin-docs.pot +++ b/locale/admin-docs.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Zammad Admin Documentation pre-release\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-02 13:05+0200\n" +"POT-Creation-Date: 2025-10-08 05:20+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -364,6 +364,10 @@ msgstr "" #: ../manage/scheduler.rst:86 #: ../manage/slas/how-do-they-work.rst:26 #: ../manage/templates.rst:23 +#: ../misc/variables/article.rst:1 +#: ../misc/variables/config.rst:1 +#: ../misc/variables/current-user.rst:1 +#: ../misc/variables/ticket.rst:1 #: ../system/objects.rst:133 #: ../system/objects.rst:237 msgid "Name" @@ -7814,6 +7818,10 @@ msgid "Set the profile to active or inactive." msgstr "" #: ../manage/report-profiles.rst:61 +#: ../misc/variables/article.rst:1 +#: ../misc/variables/config.rst:1 +#: ../misc/variables/current-user.rst:1 +#: ../misc/variables/ticket.rst:1 #: ../settings/security/base.rst:117 #: ../system/integrations/checkmk/api-reference.rst:13 msgid "Example" @@ -13610,43 +13618,51 @@ msgstr "" msgid "If you're missing variables or are not sure if something is not working as expected, feel free to ask over at the `community `_." msgstr "" -#: ../misc/variables/article.rst:6 -msgid "Below you can find all available ticket article-based variables within Zammad. These can be called via triggers for example. If you're unsure if Zammad does support variables at the point you're at, you can try to type ``::`` to check." +#: ../misc/variables/article.rst:8 +msgid "Below you can find a list with examples of article variables. Depending on the context and if you want to use an attribute of a specific article, you can choose from specific article types in Zammad. To access suggestions for variables, type ``::`` followed by your search query to trigger a list of relevant options. The following article types are available, depending on the context:" msgstr "" -#: ../misc/variables/article.rst:9 -#: ../misc/variables/config.rst:9 -#: ../misc/variables/ticket.rst:9 -msgid "The below list gives you an example what kind of data you can expect, it's not intended to explain the data itself." +#: ../misc/variables/article.rst:15 +msgid "``last_internal_article``" msgstr "" -#: ../misc/variables/article.rst:11 -msgid "Article Variables" +#: ../misc/variables/article.rst:16 +msgid "``last_external_article``" msgstr "" -#: ../misc/variables/article.rst:1 -#: ../misc/variables/config.rst:1 -#: ../misc/variables/current-user.rst:1 -#: ../misc/variables/ticket.rst:1 -msgid "name" +#: ../misc/variables/article.rst:17 +msgid "``last_article``" msgstr "" -#: ../misc/variables/article.rst:1 -#: ../misc/variables/config.rst:1 -#: ../misc/variables/current-user.rst:1 -#: ../misc/variables/ticket.rst:1 -msgid "variable" +#: ../misc/variables/article.rst:18 +msgid "``created_internal_article``" +msgstr "" + +#: ../misc/variables/article.rst:19 +msgid "``created_external_article``" +msgstr "" + +#: ../misc/variables/article.rst:20 +msgid "``created_article``" +msgstr "" + +#: ../misc/variables/article.rst:22 +msgid "The table uses ``last_article`` as example. In case you want another article, replace it with one of the mentioned article types." +msgstr "" + +#: ../misc/variables/article.rst:25 +msgid "Article Variables" msgstr "" #: ../misc/variables/article.rst:1 #: ../misc/variables/config.rst:1 #: ../misc/variables/current-user.rst:1 #: ../misc/variables/ticket.rst:1 -msgid "example" +msgid "Variable" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Cc" +msgid "Last Article > Cc" msgstr "" #: ../misc/variables/article.rst:1 @@ -13658,7 +13674,7 @@ msgid "``jdoe@example.com, company@example.com``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Created by > Address" +msgid "Last Article > Created by > Address" msgstr "" #: ../misc/variables/article.rst:1 @@ -13671,7 +13687,7 @@ msgid "``Some street 1, 12345 Berlin`` or empty if not set in user object" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Created by > Department" +msgid "Last Article > Created by > Department" msgstr "" #: ../misc/variables/article.rst:1 @@ -13684,7 +13700,7 @@ msgid "``Sales`` or empty if not set in user object" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Created by > Email" +msgid "Last Article > Created by > Email" msgstr "" #: ../misc/variables/article.rst:1 @@ -13697,7 +13713,7 @@ msgid "``jdoe@example.com``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Created by > Fax" +msgid "Last Article > Created by > Fax" msgstr "" #: ../misc/variables/article.rst:1 @@ -13714,7 +13730,7 @@ msgid "``+4930123456789`` or empty if not set in user object" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Created by > Firstname" +msgid "Last Article > Created by > Firstname" msgstr "" #: ../misc/variables/article.rst:1 @@ -13729,7 +13745,7 @@ msgid "``Joe`` or empty if not set" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Created by > Lastname" +msgid "Last Article > Created by > Lastname" msgstr "" #: ../misc/variables/article.rst:1 @@ -13748,7 +13764,7 @@ msgid "``Doe`` or empty if not set" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Created by > Login" +msgid "Last Article > Created by > Login" msgstr "" #: ../misc/variables/article.rst:1 @@ -13767,7 +13783,7 @@ msgid "``jdoe``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Created by > Mobile" +msgid "Last Article > Created by > Mobile" msgstr "" #: ../misc/variables/article.rst:1 @@ -13775,7 +13791,7 @@ msgid "``#{article.created_by.mobile}``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Created by > Note" +msgid "Last Article > Created by > Note" msgstr "" #: ../misc/variables/article.rst:1 @@ -13788,7 +13804,7 @@ msgid "``Some note about user`` or empty if not set in user object" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Created by > Phone" +msgid "Last Article > Created by > Phone" msgstr "" #: ../misc/variables/article.rst:1 @@ -13796,7 +13812,7 @@ msgid "``#{article.created_by.phone}``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Created by > VIP" +msgid "Last Article > Created by > VIP" msgstr "" #: ../misc/variables/article.rst:1 @@ -13813,7 +13829,7 @@ msgid "``true`` or ``false``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Created by > Web" +msgid "Last Article > Created by > Web" msgstr "" #: ../misc/variables/article.rst:1 @@ -13826,7 +13842,7 @@ msgid "``https://zammad.com`` or empty if not set in user object" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Created" +msgid "Last Article > Created" msgstr "" #: ../misc/variables/article.rst:1 @@ -13839,7 +13855,7 @@ msgid "``2019-10-08 15:24:47 UTC``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > From" +msgid "Last Article > From" msgstr "" #: ../misc/variables/article.rst:1 @@ -13851,7 +13867,7 @@ msgid "``Joe Doe `` may differ, depends on ``FROM`` of send ma msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Sender > Name" +msgid "Last Article > Sender > Name" msgstr "" #: ../misc/variables/article.rst:1 @@ -13863,7 +13879,7 @@ msgid "``Customer``, ``Agent`` or ``System``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Subject" +msgid "Last Article > Subject" msgstr "" #: ../misc/variables/article.rst:1 @@ -13875,7 +13891,7 @@ msgid "``My amazing subject``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Text" +msgid "Last Article > Text" msgstr "" #: ../misc/variables/article.rst:1 @@ -13887,7 +13903,19 @@ msgid "``Test`` without formatting (plain)" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > TicketID" +msgid "Last Article > Text (HTML)" +msgstr "" + +#: ../misc/variables/article.rst:1 +msgid "``#{article.body_as_html}``" +msgstr "" + +#: ../misc/variables/article.rst:1 +msgid "``Test`` with formatting" +msgstr "" + +#: ../misc/variables/article.rst:1 +msgid "Last Article > TicketID" msgstr "" #: ../misc/variables/article.rst:1 @@ -13899,7 +13927,7 @@ msgid "``1`` (not ticket number)" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > To" +msgid "Last Article > To" msgstr "" #: ../misc/variables/article.rst:1 @@ -13911,7 +13939,7 @@ msgid "``helpdesk@example.com``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Type > Name" +msgid "Last Article > Type > Name" msgstr "" #: ../misc/variables/article.rst:1 @@ -13923,7 +13951,7 @@ msgid "``email`` (`list of article types Updated by > Address" +msgid "Last Article > Updated by > Address" msgstr "" #: ../misc/variables/article.rst:1 @@ -13931,7 +13959,7 @@ msgid "``#{article.updated_by.address}``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Updated by > Department" +msgid "Last Article > Updated by > Department" msgstr "" #: ../misc/variables/article.rst:1 @@ -13939,7 +13967,7 @@ msgid "``#{article.updated_by.department}``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Updated by > Email" +msgid "Last Article > Updated by > Email" msgstr "" #: ../misc/variables/article.rst:1 @@ -13947,7 +13975,7 @@ msgid "``#{article.updated_by.email}``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Updated by > Fax" +msgid "Last Article > Updated by > Fax" msgstr "" #: ../misc/variables/article.rst:1 @@ -13955,7 +13983,7 @@ msgid "``#{article.updated_by.fax}``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Updated by > Firstname" +msgid "Last Article > Updated by > Firstname" msgstr "" #: ../misc/variables/article.rst:1 @@ -13963,7 +13991,7 @@ msgid "``#{article.updated_by.firstname}``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Updated by > Lastname" +msgid "Last Article > Updated by > Lastname" msgstr "" #: ../misc/variables/article.rst:1 @@ -13971,7 +13999,7 @@ msgid "``#{article.updated_by.lastname}``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Updated by > Login" +msgid "Last Article > Updated by > Login" msgstr "" #: ../misc/variables/article.rst:1 @@ -13979,7 +14007,7 @@ msgid "``#{article.updated_by.login}``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Updated by > Mobile" +msgid "Last Article > Updated by > Mobile" msgstr "" #: ../misc/variables/article.rst:1 @@ -13987,7 +14015,7 @@ msgid "``#{article.updated_by.mobile}``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Updated by > Note" +msgid "Last Article > Updated by > Note" msgstr "" #: ../misc/variables/article.rst:1 @@ -13995,7 +14023,7 @@ msgid "``#{article.updated_by.note}``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Updated by > Phone" +msgid "Last Article > Updated by > Phone" msgstr "" #: ../misc/variables/article.rst:1 @@ -14003,7 +14031,7 @@ msgid "``#{article.updated_by.phone}``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Updated by > VIP" +msgid "Last Article > Updated by > VIP" msgstr "" #: ../misc/variables/article.rst:1 @@ -14011,7 +14039,7 @@ msgid "``#{article.updated_by.vip}``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Updated by > Web" +msgid "Last Article > Updated by > Web" msgstr "" #: ../misc/variables/article.rst:1 @@ -14019,7 +14047,7 @@ msgid "``#{article.updated_by.web}``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Updated" +msgid "Last Article > Updated" msgstr "" #: ../misc/variables/article.rst:1 @@ -14027,7 +14055,7 @@ msgid "``#{article.updated_at}``" msgstr "" #: ../misc/variables/article.rst:1 -msgid "Article > Visibility" +msgid "Last Article > Visibility" msgstr "" #: ../misc/variables/article.rst:1 @@ -14038,18 +14066,6 @@ msgstr "" msgid "``false`` or ``true`` (false if not internal)" msgstr "" -#: ../misc/variables/article.rst:1 -msgid "Article Text as HTML (not referenced)" -msgstr "" - -#: ../misc/variables/article.rst:1 -msgid "``#{article.body_as_html}``" -msgstr "" - -#: ../misc/variables/article.rst:1 -msgid "``Test`` with formatting" -msgstr "" - #: ../misc/variables/article.rst:1 #: ../misc/variables/ticket.rst:1 msgid "Ticket > Article#" @@ -14068,11 +14084,11 @@ msgstr "" msgid "Config" msgstr "" -#: ../misc/variables/config.rst:6 +#: ../misc/variables/config.rst:8 msgid "Below you'll find config related variables. These hold useful configuration information that you can use within e.g. triggers to show necessary information to your customer." msgstr "" -#: ../misc/variables/config.rst:11 +#: ../misc/variables/config.rst:12 msgid "Config Variables" msgstr "" @@ -14152,19 +14168,19 @@ msgstr "" msgid "Current User" msgstr "" -#: ../misc/variables/current-user.rst:6 +#: ../misc/variables/current-user.rst:8 msgid "Current user variables always return values of the current user that caused e.g. a trigger to run." msgstr "" -#: ../misc/variables/current-user.rst:8 +#: ../misc/variables/current-user.rst:11 msgid "Due to the above fact, these variables are often not (yet) set or available for usage." msgstr "" -#: ../misc/variables/current-user.rst:10 +#: ../misc/variables/current-user.rst:14 msgid "In situations where e.g. schedulers or triggers run, this most likely is nothing you want to use." msgstr "" -#: ../misc/variables/current-user.rst:13 +#: ../misc/variables/current-user.rst:17 msgid "Current User Variables" msgstr "" @@ -14671,8 +14687,8 @@ msgstr "" msgid "``#{user.web}``" msgstr "" -#: ../misc/variables/ticket.rst:6 -msgid "Below you can find all available ticket-based variables within Zammad. These can be called via triggers for example. If you're unsure if Zammad does support variables at the point you're at, you can try to type ``::`` to check." +#: ../misc/variables/ticket.rst:8 +msgid "Below you can find examples of ticket-based variables within Zammad. These can be called via triggers for example. If you're unsure if Zammad does support variables at the point you're at, you can try to type ``::`` to check." msgstr "" #: ../misc/variables/ticket.rst:12 diff --git a/misc/variables/article.rst b/misc/variables/article.rst index 61c076edb..1361a3b24 100644 --- a/misc/variables/article.rst +++ b/misc/variables/article.rst @@ -1,51 +1,65 @@ Articles ======== -.. note:: If you're missing variables or are not sure if something is not working as expected, feel free to ask over at the `community `_. +.. note:: If you're missing variables or are not sure if something is not + working as expected, feel free to ask over at the + `community `_. -Below you can find all available ticket article-based variables within Zammad. -These can be called via triggers for example. If you're unsure if Zammad does support variables at the point you're at, you can try to type ``::`` to check. +Below you can find a list with examples of article variables. +Depending on the context and if you want to use an attribute of a specific +article, you can choose from specific article types in Zammad. To access +suggestions for variables, type ``::`` followed by your search query to trigger +a list of relevant options. The following article types are available, depending +on the context: -The below list gives you an example what kind of data you can expect, it's not intended to explain the data itself. +- ``last_internal_article`` +- ``last_external_article`` +- ``last_article`` +- ``created_internal_article`` +- ``created_external_article`` +- ``created_article`` + +The table uses ``last_article`` as example. In case you want another article, +replace it with one of the mentioned article types. .. csv-table:: Article Variables - :header: "name", "variable", "example" + :header: "Name", "Variable", "Example" :widths: 20, 10, 20 - "Article > Cc", "``#{article.cc}``", "``jdoe@example.com, company@example.com``" - "Article > Created by > Address", "``#{article.created_by.address}``", "``Some street 1, 12345 Berlin`` or empty if not set in user object" - "Article > Created by > Department", "``#{article.created_by.department}``", "``Sales`` or empty if not set in user object" - "Article > Created by > Email", "``#{article.created_by.email}``", "``jdoe@example.com``" - "Article > Created by > Fax", "``#{article.created_by.fax}``", "``+4930123456789`` or empty if not set in user object" - "Article > Created by > Firstname", "``#{article.created_by.firstname}``", "``Joe`` or empty if not set" - "Article > Created by > Lastname", "``#{article.created_by.lastname}``", "``Doe`` or empty if not set" - "Article > Created by > Login", "``#{article.created_by.login}``", "``jdoe``" - "Article > Created by > Mobile", "``#{article.created_by.mobile}``", "``+4930123456789`` or empty if not set in user object" - "Article > Created by > Note", "``#{article.created_by.note}``", "``Some note about user`` or empty if not set in user object" - "Article > Created by > Phone", "``#{article.created_by.phone}``", "``+4930123456789`` or empty if not set in user object" - "Article > Created by > VIP", "``#{article.created_by.vip}``", "``true`` or ``false``" - "Article > Created by > Web", "``#{article.created_by.web}``", "``https://zammad.com`` or empty if not set in user object" - "Article > Created", "``#{article.created_at}``", "``2019-10-08 15:24:47 UTC``" - "Article > From", "``#{article.from}``", "``Joe Doe `` may differ, depends on ``FROM`` of send mail" - "Article > Sender > Name", "``#{article.sender.name}``", "``Customer``, ``Agent`` or ``System``" - "Article > Subject", "``#{article.subject}``", "``My amazing subject``" - "Article > Text", "``#{article.body}``", "``Test`` without formatting (plain)" - "Article > TicketID", "``#{article.ticket_id}``", "``1`` (not ticket number)" - "Article > To", "``#{article.to}``", "``helpdesk@example.com``" - "Article > Type > Name", "``#{article.type.name}``", "``email`` (`list of article types `_)" - "Article > Updated by > Address", "``#{article.updated_by.address}``", "``Some street 1, 12345 Berlin`` or empty if not set in user object" - "Article > Updated by > Department", "``#{article.updated_by.department}``", "``Sales`` or empty if not set in user object" - "Article > Updated by > Email", "``#{article.updated_by.email}``", "``jdoe@example.com``" - "Article > Updated by > Fax", "``#{article.updated_by.fax}``", "``+4930123456789`` or empty if not set in user object" - "Article > Updated by > Firstname", "``#{article.updated_by.firstname}``", "``Joe`` or empty if not set" - "Article > Updated by > Lastname", "``#{article.updated_by.lastname}``", "``Doe`` or empty if not set" - "Article > Updated by > Login", "``#{article.updated_by.login}``", "``jdoe``" - "Article > Updated by > Mobile", "``#{article.updated_by.mobile}``", "``+4930123456789`` or empty if not set in user object" - "Article > Updated by > Note", "``#{article.updated_by.note}``", "``Some note about user`` or empty if not set in user object" - "Article > Updated by > Phone", "``#{article.updated_by.phone}``", "``+4930123456789`` or empty if not set in user object" - "Article > Updated by > VIP", "``#{article.updated_by.vip}``", "``true`` or ``false``" - "Article > Updated by > Web", "``#{article.updated_by.web}``", "``https://zammad.com`` or empty if not set in user object" - "Article > Updated", "``#{article.updated_at}``", "``2019-10-08 15:24:47 UTC``" - "Article > Visibility", "``#{article.internal}``", "``false`` or ``true`` (false if not internal)" - "Article Text as HTML (not referenced)", "``#{article.body_as_html}``", "``Test`` with formatting" + "Last Article > Cc", "``#{article.cc}``", "``jdoe@example.com, company@example.com``" + "Last Article > Created by > Address", "``#{article.created_by.address}``", "``Some street 1, 12345 Berlin`` or empty if not set in user object" + "Last Article > Created by > Department", "``#{article.created_by.department}``", "``Sales`` or empty if not set in user object" + "Last Article > Created by > Email", "``#{article.created_by.email}``", "``jdoe@example.com``" + "Last Article > Created by > Fax", "``#{article.created_by.fax}``", "``+4930123456789`` or empty if not set in user object" + "Last Article > Created by > Firstname", "``#{article.created_by.firstname}``", "``Joe`` or empty if not set" + "Last Article > Created by > Lastname", "``#{article.created_by.lastname}``", "``Doe`` or empty if not set" + "Last Article > Created by > Login", "``#{article.created_by.login}``", "``jdoe``" + "Last Article > Created by > Mobile", "``#{article.created_by.mobile}``", "``+4930123456789`` or empty if not set in user object" + "Last Article > Created by > Note", "``#{article.created_by.note}``", "``Some note about user`` or empty if not set in user object" + "Last Article > Created by > Phone", "``#{article.created_by.phone}``", "``+4930123456789`` or empty if not set in user object" + "Last Article > Created by > VIP", "``#{article.created_by.vip}``", "``true`` or ``false``" + "Last Article > Created by > Web", "``#{article.created_by.web}``", "``https://zammad.com`` or empty if not set in user object" + "Last Article > Created", "``#{article.created_at}``", "``2019-10-08 15:24:47 UTC``" + "Last Article > From", "``#{article.from}``", "``Joe Doe `` may differ, depends on ``FROM`` of send mail" + "Last Article > Sender > Name", "``#{article.sender.name}``", "``Customer``, ``Agent`` or ``System``" + "Last Article > Subject", "``#{article.subject}``", "``My amazing subject``" + "Last Article > Text", "``#{article.body}``", "``Test`` without formatting (plain)" + "Last Article > Text (HTML)", "``#{article.body_as_html}``", "``Test`` with formatting" + "Last Article > TicketID", "``#{article.ticket_id}``", "``1`` (not ticket number)" + "Last Article > To", "``#{article.to}``", "``helpdesk@example.com``" + "Last Article > Type > Name", "``#{article.type.name}``", "``email`` (`list of article types `_)" + "Last Article > Updated by > Address", "``#{article.updated_by.address}``", "``Some street 1, 12345 Berlin`` or empty if not set in user object" + "Last Article > Updated by > Department", "``#{article.updated_by.department}``", "``Sales`` or empty if not set in user object" + "Last Article > Updated by > Email", "``#{article.updated_by.email}``", "``jdoe@example.com``" + "Last Article > Updated by > Fax", "``#{article.updated_by.fax}``", "``+4930123456789`` or empty if not set in user object" + "Last Article > Updated by > Firstname", "``#{article.updated_by.firstname}``", "``Joe`` or empty if not set" + "Last Article > Updated by > Lastname", "``#{article.updated_by.lastname}``", "``Doe`` or empty if not set" + "Last Article > Updated by > Login", "``#{article.updated_by.login}``", "``jdoe``" + "Last Article > Updated by > Mobile", "``#{article.updated_by.mobile}``", "``+4930123456789`` or empty if not set in user object" + "Last Article > Updated by > Note", "``#{article.updated_by.note}``", "``Some note about user`` or empty if not set in user object" + "Last Article > Updated by > Phone", "``#{article.updated_by.phone}``", "``+4930123456789`` or empty if not set in user object" + "Last Article > Updated by > VIP", "``#{article.updated_by.vip}``", "``true`` or ``false``" + "Last Article > Updated by > Web", "``#{article.updated_by.web}``", "``https://zammad.com`` or empty if not set in user object" + "Last Article > Updated", "``#{article.updated_at}``", "``2019-10-08 15:24:47 UTC``" + "Last Article > Visibility", "``#{article.internal}``", "``false`` or ``true`` (false if not internal)" "Ticket > Article#", "``#{ticket.article_count}``", "``1`` number of ticket articles" diff --git a/misc/variables/config.rst b/misc/variables/config.rst index 8a055c1f4..e721778d5 100644 --- a/misc/variables/config.rst +++ b/misc/variables/config.rst @@ -1,15 +1,16 @@ Config ====== -.. note:: If you're missing variables or are not sure if something is not working as expected, feel free to ask over at the `community `_. +.. note:: If you're missing variables or are not sure if something is not + working as expected, feel free to ask over at the + `community `_. Below you'll find config related variables. -These hold useful configuration information that you can use within e.g. triggers to show necessary information to your customer. - -The below list gives you an example what kind of data you can expect, it's not intended to explain the data itself. +These hold useful configuration information that you can use within e.g. +triggers to show necessary information to your customer. .. csv-table:: Config Variables - :header: "name", "variable", "example" + :header: "Name", "Variable", "Example" :widths: 20, 10, 20 "Config > Fully Qualified Domain Name", "``#{config.fqdn}``", "``zammad.example.com``" diff --git a/misc/variables/current-user.rst b/misc/variables/current-user.rst index cf6eeaa65..9a3a082d3 100644 --- a/misc/variables/current-user.rst +++ b/misc/variables/current-user.rst @@ -1,17 +1,21 @@ Current User ============ -.. note:: If you're missing variables or are not sure if something is not working as expected, feel free to ask over at the `community `_. +.. note:: If you're missing variables or are not sure if something is not + working as expected, feel free to ask over at the + `community `_. -Current user variables always return values of the current user that caused e.g. a trigger to run. +Current user variables always return values of the current user that caused e.g. +a trigger to run. -.. note:: Due to the above fact, these variables are often not (yet) set or available for usage. - - In situations where e.g. schedulers or triggers run, this most likely is nothing you want to use. +.. note:: Due to the above fact, these variables are often not (yet) set or + available for usage. + In situations where e.g. schedulers or triggers run, this most likely is + nothing you want to use. .. csv-table:: Current User Variables - :header: "name", "variable", "example" + :header: "Name", "Variable", "Example" :widths: 20,10,20 "Current User > Address", "``#{user.address}``", "``Some street 1, 12345 Berlin`` or empty if not set" diff --git a/misc/variables/ticket.rst b/misc/variables/ticket.rst index f457f275b..90bda7163 100644 --- a/misc/variables/ticket.rst +++ b/misc/variables/ticket.rst @@ -1,16 +1,16 @@ Ticket ====== -.. note:: If you're missing variables or are not sure if something is not working as expected, feel free to ask over at the `community `_. - -Below you can find all available ticket-based variables within Zammad. -These can be called via triggers for example. If you're unsure if Zammad does support variables at the point you're at, you can try to type ``::`` to check. - -The below list gives you an example what kind of data you can expect, it's not intended to explain the data itself. +.. note:: If you're missing variables or are not sure if something is not + working as expected, feel free to ask over at the + `community `_. +Below you can find examples of ticket-based variables within Zammad. +These can be called via triggers for example. If you're unsure if Zammad does +support variables at the point you're at, you can try to type ``::`` to check. .. csv-table:: Ticket Variables - :header: "name", "variable", "example" + :header: "Name", "Variable", "Example" :widths: 20, 10, 20 "Ticket > Accounted Time", "``#{ticket.time_unit}``", "``1``, ``2.75`` or empty response"