osTicket Version v1.12 (a076918) — Up to date
Web Server Software Microsoft-IIS/8.5
MySQL Version 10.3.14
PHP Version 7.2.14

I seem to have this in a couple of my templates.
For testing purposes i've just created a new stock template, went to "New Ticket Notice" for user" changed nothing and clicked save, and i get the error in the screenshot.

Also, where it says "Your %{company.name} Team" the email received by the user, it says "Your 2 Team"
Company name is 100% set to the actual company name.

Another one from my task alerts

Do the variables work in the resulting email?

%{response} and %{task.description} seem to work fine.
Just the "Your %{company.name} Team" bit that i've noticed so far that has the issue.
I have "Your %{company.name} Team" in another template and it comes through ok.

Not all variables are available in all templates.
Chances are you are using a variable that is not available in that template.

The new ticket alert template screen shot you sent is not stock.

    New ticket #%{ticket.number} created
    <br>
    <br>
    <table>
    <tbody>
    <tr>
        <td>
            <strong>From</strong>:
        </td>
        <td>
            %{ticket.name} &lt;%{ticket.email}&gt;
        </td>
    </tr>
    <tr>
        <td>
            <strong>Department</strong>:
        </td>
        <td>
            %{ticket.dept.name}
        </td>
    </tr>
    </tbody>
    </table>
    <br>
    %{message}
    <br>
    <br>
    <hr>
    <div>To view or respond to the ticket, please <a
    href="%{ticket.staff_link}">login</a> to the support ticket system</div>
    <em style="font-size: small">Your friendly Customer Support System</em>
    <br>
    <a href="http://osticket.com/"><img width="126" height="19"
        style="width: 126px; " alt="Powered By osTicket"
        src="cid:b56944cb4722cc5cda9d1e23a3ea7fbc"/></a>

response will only work if there is a response. Most new tickets do not have a response.

The New Task Alert screen shot looks like a default.

I'm not sure why its issuing a warning about task.desc but its just a warning. If it works you can ignore it.

You are incorrect, It is stock, I literally just made a new template and chose stock.

The response is supposed to be there because it's the optional first response when creating a ticket on behalf of someone.

Sigh!!!!
I create new template.
Choose stock option.
Go to said template and save it without changing anything.
I dont know what else to tell you.
Your clearly more focused on blaming this on me rather than try to help so be as well just lock this thread.

Honestly I've been back and forth with OSTicket over the years and I'm finally putting it into a production enviroment next week.

I'm seriously having my doubts with it now though.
I can honestly see something going really wrong with it one day and really have no proper support to fall back on.
Now I understood that from the get go, just like I did with spiceworks, but their community forum has been amazing and Ive almost always managed to get help without an arguement.

Every single time I come on here I end up having to prove to you, just because your not having the problem it means it's not happening.

I'll just have to make do with the error.
I'll be looking for an alternative in the meantime.

Don't know what to tell you.

I've told you that its not an error and is a warning and if it works then you can ignore it.

I've copied and pasted the code and the link directly from the github project to show you that your template varies from the stock provided by the authors template. Perhaps you or someone else edited your stock template. I don't know why yours is different from the version that is distributed with the product.

The only person that seems to be taking this personally or talking about blame is you. Again it's just a warning and if the template works you can ignore it.

@ntozier I think the file is https://github.com/osTicket/osTicket/blob/develop/include/i18n/en_US/templates/email/ticket.notice.yaml ?? Although while that may be the case that the Github version is updated, the one distributed at osticket.com/download still includes the %{response} variable in the stock templates.

@billy It might be worth replacing include/i18n/en_US/templates/email/ticket.notice.yaml with the version on Github, or just manually removing it from your templates for now - new version will be in the next available download.

    RBGE
    Thanks for looking into that, i'll give this a bash today hopefully when i get a moment.
    Thanks

    RBGE Just to let you know this worked for me.
    Thanks ?

    @ntozier
    It's not that i don't appreciate the help as you have helped me in the past, but going by my past couple of topics you've pretty much blamed my installation or something that i've done, and in both cases it's turned out to be an issue with OSTicket.

    Write a Reply...