My understanding is that we could simply change this code to load a format from some configuration property if no format is provided and the configuration is set (the code to parse a Velocity format string is already there). This might have a performance impact, though, so I wouldn't suggest to have a default format specifier and we could look into at least caching the compiled Velocity code.
Michael Hamann I don't think we should do that. We already have the configuration we need. That is user.display.qualifierProperty. If you need more control over the qualifier you can add a computed property to the user profile class and indicate this new property as qualifier.
Marius Dumitru Florea on 14/Jun/24 12:39
Yes, we should make the user displayer take into account the `` {{user.display.qualifierProperty``}} configuration. But we need to be aware that the user alias is not a user profile property so currently you'd have to add a computed property to the user profile, that displays the user alias, if you want to show the user alias as a qualifier.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.