Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Show initiator name in Jira email (Email Issue JMWE)

Ozan Topkaya October 20, 2023

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")})

2 answers

1 accepted

0 votes
Answer accepted
Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 20, 2023

HI @Ozan Topkaya 

In JMWE you should be able to access user performing the action as currentUser

Screenshot 2023-10-20 at 14.24.01.png

Ozan Topkaya October 20, 2023

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()

David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 20, 2023

You probably forgot the ${} around the expression

Ozan Topkaya October 23, 2023

Hello David

It works now with ${}.

Thank you all

0 votes
Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 20, 2023

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

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 Now
AUG Leaders

Atlassian Community Events