Is there a way to decode or remove user mention in the body of a comment when using smart values?
I am sending an email when an issue meets a certain criteria and would like to include comments but the user mentions displayed are ugly. I would like to remove or decode the accountID to user name.
I am a little sketchy on the specific implementation...
Hi @Chris Byrne
Removing them is easy, if you do not mind any gaps in your comments. Please try the replaceAll() function with a regular expression to remove everything surrounded by the brackets.
If you want a placeholder, you may replace the empty "" with something else, like "USER-MENTION". Please see this documentation for more about that function:
For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...
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
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events