User Mention macro gives you the ability to mention users in Confluence page.
noteExample
Example
When this macro fills it will create two user mentions
User from assignee field
User from BA customfield
Comma Separated
If issue field is empty the function will not create the macro