How to use automation to tag a user from customfield?
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
This document will help to create an automation rule to tag a user in the Issue comment.
Environment
8.x, 9.x
Requirement
Tag a specific user in the Issue comment as soon as one Issue gets created.
Solution
Please note :
This rule is specifically for the user that is mentioned in any Custom field.
This rule can be modified to fetch the username from any System field and then tag the user in the Jira issue comment.

Syntax
This specific Syntax can be used to Tag the user in the comment: ~{{issue.fields.customfieldname}}.
For more information please refer Smart values in Jira automation
Was this helpful?