Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variables Don't work in canned responses selected by a filter #6673

Open
christheradioguy opened this issue Mar 9, 2024 · 0 comments
Open

Comments

@christheradioguy
Copy link

Description

When setting up a filter to automatically send a canned response, variables inside the canned response are not populated.

Steps to Reproduce

  1. Create a canned response and include he variable %{ticket.name}
  2. Create a filter and have the filter attach the created canned response
  3. Create a ticket that matches the filter criteria
  4. The canned response sent by the ticket will have %{ticket.name} in the body

Expected behavior: %{ticket.name} is replaced with the name of the submitter

Actual behavior: The body literally contains the string %{ticket.name}

Versions

  • OsTicket 1.18-git
  • OS: Ubuntu 22.04
  • PHP: 8.1.27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant