Forums

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

Smart values: Epic, Priority and Custom Field(Worked Today) send empty values through auto-email

zacharoula_brinia
Contributor
June 21, 2023

Hello all,

I have created an automated action for sending an email with the above values but the Smart values: Epic, Priority and Custom Field(Worked Today) are empty in the email although I have put values in the issue in Jira. This is how I have set up the e-mail structure:

This is the daily work log report.
{{#lookupIssues}}

* Issue Key: <b>{{key}}</b> (<a>{{url}}</a>)
* Summary: <a>{{Summary}}</a>
* Assignee: <c>{{assignee.displayName}}</c>
* Epic: <d>{{issue.epic.Epic Name}}</d>
* Priority: <e>{{issue.field.priority.name}}</e>
* Hours Worked Today: <f>{{issue.customfield_10063}}</f>

{{/}}

 

Can you help me, please?

 

Thank you.

4 answers

1 accepted

1 vote
Answer accepted
Mark Segall
Community Champion
June 21, 2023

Hi @zacharoula_brinia 

I think I understand the issue here.  The source of your email message is a lookup issues action.  You start pulling in the values from the lookup issue but then pivot to the current issue.  I think you want to do something like this:

This is the daily work log report.
{{#lookupIssues}}

* Issue Key: <b>{{key}}</b> (<a>{{url}}</a>)
* Summary: <a>{{Summary}}</a>
* Assignee: <c>{{assignee.displayName}}</c>
* Epic: <d>{{epic.Epic Name}}</d>
* Priority: <e>{{priority.name}}</e>
* Hours Worked Today: <f>{{customfield_10063}}</f>

{{/}}
zacharoula_brinia
Contributor
June 21, 2023

Dear @Mark Segall it worked! Thanks a lot! 

Like Mark Segall likes this
1 vote
John Funk
Community Champion
June 21, 2023

Hi Zacharoula,

So the other fields have values in them? But for the same issue just these fields don't?

If so, try these:

{{issue.Epic Name}}

{{issue.priority.name}} 

{{issue.customfield_10063.value}}

zacharoula_brinia
Contributor
June 21, 2023

Thank you so much @John Funk !

Like John Funk likes this
0 votes
zacharoula_brinia
Contributor
June 21, 2023
Dave Rosenlund _Trundl_
Community Champion
June 21, 2023

Hi, @zacharoula_brinia.  Unfortunately, I do not know this area very well. However, I am confident there are community members who do and will respond 🤞 

0 votes
zacharoula_brinia
Contributor
June 21, 2023

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events