I cannot mention User in Automation Add Comment TO ISSUE AND NEITHER THIS SOLUTION WORK FOR ME
[~ADD USER NASME HERE ]
what is the correct way to get the user name since its not working for me
Hello @Mahmoud Zinji
Welcome to the Atlassian community!!
You can mention the following persons in comments using smart values for automation:
Reporter: {{reporter.displayName}}
Assignee: {{assignee.displayName}}
Comments: {{issue.comments.author.displayName}} or {{issue.comments.last.author.displayName}}
Please accept the answer if this helps solve your query else respond and allow others to share input.
Hi Mahmoud - Welcome to the Atlassian Community!
Try this text: [~accountid:{{issue.assignee.accountId}}]
Thanks for this, I really appreciate your idea, but for me it did not work.
I tried this [~accountid:{{reporter.displayName}}] and it brings @User mention but it doesn't contain the actual user ID, so it leads to a link: xy.atlassian.net/people/unknown .
In my case this did not give the result as expected, but thanks for the idea.
Can you share the actual trigger, because that syntax works for me.
The displayName part was actually wrong.
Wrong version: [~accountid:{{reporter.displayName}}]
It was correct this way: [~accountid:{{issue.reporter.accountId}}]
Thanks for your help again
[~accountid:5c3368158a78885a3c1334]
This is if you want to mention any person by id.
It looks like you're new here. Sign in or register to get started.