Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation - Some email content missing

Elston_ Jonathan August 14, 2024

I have copied a Jira template automation that sends an email when a task is less than 3 days away.  However, not all of the content is displayed in the email.

 

In the automation I have the following:

Subject: Issue {{issue.key}} is due soon

 

Content:

Hello {{distinctAssignee.displayName}},

The following issues are due within next 2 days: {{#lookupIssues}} {{key}} - {{summary}} {{/}}

Regards,

Jira Automation

 

 

However, what is displayed in the email sent is:

 

Subject:Issue TS-9866 is due soon

 

 

Hello ,

The following issues are due within next 2 days:

Regards,

Jira Automation

 

Why is the {{distinctAssignee.displayName}} and 

 

{{#lookupIssues}} {{key}} - {{summary}} {{/}} not being included?

 

Thanks.

2 answers

2 accepted

2 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2024

Hi @Elston_ Jonathan 

For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected.  Those will provide context for the community to offer ideas.  Thanks!

Until we see those...

I hypothesize you are using this template from the project automation templates:

When a task is near due → send email reminder

And if you have changed the Advanced Branch smart value expression, or the JQL for the second Lookup Issues, that may explain what you are observing.

Seeing the details of your rule will confirm this, and what could be done to fix it.

 

Also, what type of project are you using?  That template is listed for Company-managed projects, and it may not work for Team-managed projects due to differences in the smart values for user fields.

 

Kind regards,
Bill

1 vote
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 14, 2024

Is Distinct Assignee a custom field? Or are you trying to show the assignee? If the latter then the smart value would be {{assignee.displayName}}.

And in you are automation are you using a lookup issue component? The {{#lookupIssues}}{{/}} only works if you are using a lookup issue first.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Events