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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Re: Sending an email with a list of issues using Automati...

Seems email "to" with assignee, reporter not working.

 

Is there any way to solve that.

1 answer

0 votes
Daniel Eads Atlassian Team Mar 30, 2021

Hi @Balaji Cherukuri , welcome to the Community!

I've split your question off from the original thread at this link . If I understand correctly, you'd like to send an email from Jira Automation, and the recipients should be the assignee and reporter of an issue.

The Send Email action should have both the reporter and assignee available as options in the To: dropdown, as shown in this example:

image.png

Do those values not appear?

The email may come from noreply@automationforjira.com - which might not be on your organization's approved recipients list. That's another thing to check for if it appears the rule is configured properly but the recipients aren't seeing the emails in their inboxes.

Thanks,
Daniel | Atlassian Support

@Daniel Eads for single issue this approach works but not for the list of issues. For example in the following case, I couldn't find a way to add all issues "assignees" and "reporters" in TO.

 

```

{{#lookupIssues}}
* {{url}}: Assignee:{{assignee.displayName}}
{{/}}

```

Daniel Eads Atlassian Team Apr 02, 2021

Ah, I gotcha. You can use the lookup as a smart value in the To: field - 

image.png

For example, to get all the assignees for the list of issues from my lookup, you can paste this value in as the smart value:

{{#lookupIssues}}{{assignee.emailAddress}},{{/}}

(note the comma after the email address portion - necessary to make it a valid list).

If you happened to log the output of this, you might note that you'll see some duplicate email addresses if the list has issues that are assigned to the same folks. The duplicates should be stripped out by the email system. In testing this, I used a lookup that had 13 issues assigned to 2 users. The emails were delivered only once to those two assignee users.

Cheers,
Daniel

Super neat!

 

Thank you

Like Daniel Eads likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Automation

New to Jira Automation - goodbye Cron (sort of), hello new project created trigger, new additions to

Hey Everyone! Simeon from the Automation team here. I'm delighted to share some new features and improvements that we are shipping to Jira automation (Cloud only). Firstly, @Sam Harding&nbsp...

2,860 views 10 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you