Hi, I am customising templates for sending automatic e-mails to customers when they open a new ticket.
Our customers have different native languages. So I would like the automatic e-mail to be in the right language. However, I cannot access the information from the velocity template.
I have tried to access the class UserPreferencesManager but it is not accessible from velocity. I also tried to search for the class with $content but it is also not accessible from velocity. In UserPropertyManager I didn't find a language property.
Does anyone know a way to do this?
Hi @Luca ,
I kind of experienced the same issue with yours actually, I'm trying to access something from the JAVA API but it was not accessible from the plugin.
What I did is contact the add-on vendor and have then double-checked if the user preference is accessible in the velocity template the last time they've added it.
Hi @Luca ,
I'm not sure if this helps but the workaround is to add a customfield language and have the condition around that new language custom field in the velocity.
The downside is you have to update them manually for each issues unless you have an automation to set it up based on the user, group, or other factors.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event