HI. I am trying to use Automation to send an email containing the issue summary, issue resolution and the resolution comments using the following content:
{{issue.summary}}
{{comment.body}}
{{issue.fields.resolution}}
While the summary and comments are working perfectly, I'm just getting numbers where the resolution value should be. What am I doing wrong?
Hi @niggles20
Please try {{issue.resolution.name}} for the name of that value.
And a suggestion to help find this information faster in the future: https://jira.atlassian.com/browse/JIRAAUTOSERVER-339
Kind regards,
Bill
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.
Hello @niggles20
My bad this is only available for the cloud.
The problem is that the resolution smart value is not available for the server.
But what you can do is edit the automation, here is my idea.
You add IF/Else first if the resolution is unresolved you just add that comment in the email body in the automation.
Else if the resolution is Done
Add "Resolution is Done" in the email body
Else if the resolution is "Won't Do"
Add "Resolution is Won't Do"
Your email body should look like this, example
{{issue.summary}}
{{comment.body}}
Resolution is done
OR
{{issue.summary}}
{{comment.body}}
Resolution is unresolved
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.