I am trying to set up an automated email for new risks that are created each week to alert senior management.
the project has Risks as an issue type, each risk is assigned to an Epic which is the project Name
The Lookup issues is using the following JQL:
Project = "Risk Register" AND (Priority in (Highest, high) OR priority was in (Highest, High) OR "Highlight this risk to Senior Management Team[Dropdown]" = Yes) AND Created>= -5d order by created DESC
I have the email working fine and all but the Epic Name are not working correctly
Below is the main content of the email to be sent, with the line in Bold what i am trying to solve. i have tried so many permutations for this but all just seem to return blank.
{{#lookupIssues}}
* <a href= "{{url}}" >{{key}}</a>
Project: {{issue.Epic Name}}
Summary : {{summary}}
Description : {{Description}}
Priority : {{priority.name}}
Assigned to: {{assignee.displayName}}
Created By : {{reporter.displayName}}
Created on : {{issue.created.format("dd/MM/yyyy")}}
{{/}}
Can anyone advise what Smart Value i should be using here
Hello @Joe Borley
Did you already try to show the Summary of your Epic with {{issue.parent.epic.summary}} or {{issue.parent.epic.Epic Name}} ?
Let me know if it's convenient, else, I will try a new answer ^^
Regards,
JM
Hey, i just tried both of these, neither of them worked unfortunately
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, I just tried with these smart values, and it's working for me :
{{Issue.parent.Summary}}
{{Issue.parent.Epic Name}}
This is working only story, task, bug, etc... not for subtasks (I haven’t tried with subtask)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey JM, unfortunately that still isn't working for me.
I am wondering if its because I am using a custom issue type "risk" instead of a regular Task?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think so, excepted if you custom issue type has the hierarchy level 1 (Epic hierarchy) or -1 (subtask hierarchy).
alos to try a smart value, you can create a variable in your automation with this smart value, and print it in the audit log (with Log Action) (or directly put the smart value in the log action).
For example, I created a smart value WSJF:
And you can check in the Audit Log what is wrong.
Can you show me more details on your Issue type if it's possible ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i was finally able to solve this when i had a little spare time. ended up going with;
{{#lookupIssues}}
* <a href= "{{url}}" >{{key}}</a>
Project : <a href= "{{Epic Link.url}}" >{{Epic Link.Summary}}</a>
Summary : {{summary}}
Description : {{Description}}
Priority : {{priority.name}}
Assigned to: {{assignee.displayName}}
Created By : {{reporter.displayName}}
Created on : {{issue.created.format("dd/MM/yyyy")}}
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.