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,
you can try {{initiator.displayName}} as mentionned here : https://support.atlassian.com/cloud-automation/docs/jira-smart-values-users/
Best regards,
Mathieu
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're welcome @MahanthPrudhvi
Hi @Mathieu Truchot
I am using [~accountId:{{initiator.accountId}}] because it has to trigger a mail as well.
Thanks for your suggestion.
It looks like you're new here. Sign in or register to get started.