Hello together
During issue closing, a custom mail is sent to specific user. Since the ticket is not only closed by assignee person. I would like to have in mail exact name of user who is performing the transition. The following mail content is currently working:
Hallo zusammen
Der IT-Security-Incident <b>${issue.getAsString("Key")}</b> mit der Bezeichnung <b>${issue.getAsString("Summary")}</b> wurde abgeschlossen.
Beste Grüsse
${issue.get("Assignee")?.displayName} (${issue.getAsString("Assignee")})
Thank you for the prompt assistance. I have overseen this function of JMWE.
Unfortunately, I can still not managed to display current user name in MailText. I have tried the following in the workflow and get those as a String back in test mails.
currentUser
currentUser.name
currentUser.displayName
currentUser.getUserProperty()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You probably forgot the ${} around the expression
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.
Could you try this
<%= currentUser.getDisplayName() %>
https://innovalog.atlassian.net/wiki/spaces/JMWE/pages/138353228/Getting+the+current+user+-+Groovy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.