Get translation of Jira Server Insight attribute names in error messages via i18n?

Cary Clark
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 26, 2022

I am wondering if the Jira Server Insight java classes provide a way to get "translations" (object type attribute names) for i18n keys for attributes in error messages. For example, "rlabs-insight-attribute-1002" refers to an object type attribute "Name". Is there some `I18nUtils`-like class that can be used to get the attribute name as defined in Insight directly, or do we need to provide own own way to do this? 

I have tested putting some entries into properties files, and that does allow me to get those translations at runtime, but if I use that approach it would mean auto-generating key=name properties for all attributes, and would rather not do that unless there are no other options available.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events