I'm trying to configure and email notification when a user changes an insight object.
According to the documentation: https://confluence.atlassian.com/servicemanagementserver0421/configuring-insight-automation-rules-1115654234.html it is possible to use some fields in the email body.
However I'm not able to find the object referring to the user triggering the automation.
Furthermore, I noticed the "Execute Groovy script" action does get a reference to the "currentUser"
Is there a possibility to get the displayname of the current User in the email body / subject?
Kind regards
PS: So far I tried: ${initiator}, ${initiator.displayName}, ${currentUser} and ${currentUser.displayName}
Hi @Elward Bosman - In the automation, you'll want to use a double curly bracket like this:
{{initiator}}
Hi @Mark Segall ,
Thank you for your response.
I have tested double curly brackets too, however that didn't work either. Just showing "{{initiator}}" in the email body
In the Insight automation "Email notification" documentation, dynamic values are marked with ${field} see bellow:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ahh - The screenshot adds context. So you're not using the Automation for Jira marketplace app (free from Atlassian)? It appears you're using some legacy insight automation... perhaps from before Atlassian acquired it?
Unfortunately, I'm not familiar with this particular automation engine so I won't be much help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark, true it's JSM 4.20 so it's using a Insights automation and not Automation for Jira.
So I suppose there is no quick and easy solution. We will upgrade to the latest LTS.
Thank you for the feedback!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online 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.