Hi
I've got a number of Jira records and for each, I want to generate an email using Jira Automation that is unique to that record.
Which fields are shown and the content of the email may be different from issue to issue. So I've stored what needs to be in the email in a text field of the record and I want that to determine what's in the email. Here's an example:
Dear {{issue.assignee.DisplayName}}
{{issue.assignee.displayName}} from {{issue.Summary}} has been notified that you will be in contact them for the {{issue.Category Name}} Category.
Please click on the following link
{{issue.url.customer}}
So in Jira Automation for the content field, I've got {{issue.textfield}}
This is what gets sent in the email:
Dear \{\{issue.assignee.DisplayName}}
\{\{issue.assignee.displayName}} from \{\{issue.Summary}} has been notified that you will be in contact them for the \{\{issue.Category Name}} Category.
Please click on the following link
\{\{issue.url.customer}}
So it hasn't interpreted the smartvalues. Is there anything I can do to force it to interpret the smartvalues?
I hope this makes sense, so ask if you need further details.
Many Thanks
David
Try this:
Dear {{assignee.displayName}}
{{assignee.displayName}} from {{issue.summary}} has been notified that you will be in contact them for the {{issue.category.name}} Category.
Please click on the following link
{{issue.url}}
Thanks,
Tim
Thanks for the quick response.
I've changed text to what you have provided and this is what has come out in the email:
Dear \{\{assignee.displayName}}
\{\{assignee.displayName}} from \{\{issue.summary}} has been notified that you will be in contact them for the \{\{issue.category.name}} Category.
Please click on the following link
\{\{issue.url}}
It's still not interpreting the smart values
Thanks
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What I'm trying avoid here is 'hardcoding' the different email contents inside the an automation specific to each record. I want to be able to specify it in each Jira record.
I'm wondering if there are any special characters I can include in the text to force it to interpret what's in {{}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm thinking we need to use {{issue.key}} so the automation pulls in an issue and can get the details from the issue. Like maybe in the subject line.
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.