We have a few custom fields that we want to use in automation in which the automation would leave a comment tagging the users in the comment. As of now I have found a way to have it show the users names, but not tag them. When I try to add the [~] to get it to tag it, it turns into @Unknown.
The field is called "UAT Sign off Team"
{{Issue.customfield_10302.DisplayName}} - will write out the comment with the multiple peoples names in that field but will not a a tag.
How can I adjust my Comment to have the names show up as tags?
Would you please clarify what you are trying to do?
Perhaps if you post images of your complete rule and audit log details, that will provide some context.
For fields which support mentions, such as Comments and Description, that looks like this behind the scenes, where the user's account ID value is used to identify them:
[~accountid:6207f8c9e5caff0070e46e41]
And it displays the user's Display Name in the field.
Kind regards,
Bill
Here is what I have
Our UAT Sign off Team field is a user pick "Multiple"
The best way I could find do the the display name for the UAT sign off field where there are multiple people is highlighted in Yellow, however it does not create a tag as expected. When I add the [~] around it, it creates the Tag, but with an Unknown user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for that information...it shows you want to add zero-to-many mentions in the comment from the multiple-select, user field.
That may be done using an iterator to dynamically add the mentions. For example:
{{#issue.customfield_10302}}[~accountid:{{accountId}}]{{^last}}, {{/}}{{#last}}:{{/}}{{/}}
This ticket is now ready for UAT. Please review and approve...
I put the list of user mentions on the first line, separated by commas, with a colon after the last entry to lead into the text. Please change the formatting to meet your needs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.