Need a {{ticket.id}} variable that returns ONLY the ticket number (WITHOUT the # prefix)
A
Adam Smith
I dreamed up another use case for TimeZest that would make setting up our Remote Help Desk sessions much easier!
We use ConnectWise Control, which lets a user join a session with a simple URL, like https://myitguy.hostedrmm.com:8040/?Code=123456
[screenshot showing the code pre-filled]
The "code" in this case, would be the Ticket Number.
Unfortunately, there's one VERY TINY problem that TimeZest creates: Both {{ ticket.id }} and {{ ticket.number }} return the Ticket number
PREFIXED
with a # which BREAKS the link, e.g. https://myitguy.hostedrmm.com:8040/?Code=#123456[screenshot showing the code field is blank]
It seems like a no-brainer to remove the # from either .id or .number, or make a brand new {{ ticket.seriously-just-the-ticket-number }} variable.
Log In
C
Chris Cayll
You can just use the following syntax to remove the # in a variable.
{{ ticket.number | remove: "#" }}
D
Dan Baird
Jason Langenauer seems like it would be a no-brainer to add this variable and would be very useful for many of us.
A
Adam Smith
P.S. {{ ticket.number }} isn't even documented in https://help.timezest.com/en/articles/3228114-custom-html-emails, but is used in the default email templates