Here's the list of all placeholder variables that are supported:
Ticket
Attribute |
Type |
Usage |
- |
---|---|---|---|
id |
|
|
- |
title/subject |
|
|
- |
description |
|
|
- |
source/channel |
|
|
- |
category |
|
|
- |
number |
|
|
- |
priority |
|
|
- |
status |
|
|
- |
link/url |
|
|
- |
created_at |
|
|
Example: |
updated_at |
|
|
- |
latest_comment |
|
|
- |
tags |
|
|
To be used in loops |
organization |
|
|
Refer: Organization Placeholders |
requester |
|
|
Refer: User Placeholders |
agent |
|
|
Refer: User Placeholders |
User
Attribute |
Type |
Usage |
- |
---|---|---|---|
id |
|
|
Example: |
|
|
Example: |
|
name |
|
|
- |
first_name |
|
|
- |
last_name |
|
|
- |
Organization
Attribute |
Type |
Usage |
---|---|---|
id |
|
|
name |
|
|
subdomain |
|
|
tags |
|
|
Formatting helpers
1. Format Timestamp
{{ ticket.created_at | date: "%a, %b %d, %y" }}
converts timestamp to Tue, Apr 22, 14
.
2. Default
Uses a default value when a variable has an empty value. {{ ticket.agent.first_name | default: "Not Assigned" }}
prints Not Assigned
when a ticket is not assigned to any agent.
3. Link to text using placeholder
In order to add a dynamic link to text, type in the placeholder variable in the link field.