The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Formatting user name as @mention using table transformer

Alexandra Kühn
Contributor
February 27, 2024

Is it possible to format a user name in a table cell as an @mention using the sql-query of the table transformer makro like you can format statuses, clickable links, mail and phone numbers with formatwiki?

The input should look like one of theese: 

image.png

and the output like this:

image.png

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Stiltsoft support
Atlassian Partner
February 27, 2024

Hi @Alexandra Kühn ,

Unfortunately, it is not possible. The @ symbol in mentions is not a visible symbol for the macro, you may check it entering real mentions in a row and trying to separate the string by @.

You may use smth like this

SELECT
FORMATWIKI("@",'Name') AS 'New Name'
FROM T*

but the result will be not John but @John. The real mention won't be created.

Alexandra Kühn
Contributor
February 27, 2024

What a pity, but thanks for the fast answer.

Like Stiltsoft support likes this
TAGS
AUG Leaders

Atlassian Community Events