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
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. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share the actual trigger, because that syntax works for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad that worked!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
[~accountid:5c3368158a78885a3c1334]
This is if you want to mention any person by id.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.