Hi, I have created an automation where a comment will be added mentioning @initiator but when I use {{initiator.accountId}}, it's not mentioning the initiated user but it is giving user ID something like this " @62fb76b9e2b1b5ae159a8ba8. So how can I get user name?
Thanks.
Hi @MahanthPrudhvi ,
based on the following article https://support.atlassian.com/cloud-automation/docs/jira-smart-values-users/ you could use {{initiator.displayName}}.
To mention someone you should use [~accountId:{{initiator.accountId}}]
Fabio
Hi @Fabio Racobaldo _Catworkx_
Sorry for my late response. I have tried your suggestion and working amazing.
Thanks for your quick response and suggestion.
Regards,
Mahanth.
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.
hi,
you can try {{initiator.displayName}} as mentionned here : https://support.atlassian.com/cloud-automation/docs/jira-smart-values-users/
Best regards,
Mathieu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using [~accountId:{{initiator.accountId}}] because it has to trigger a mail as well.
Thanks for your suggestion.
Regards,
Mahanth.
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.