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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.