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

How to send 1 email to all Assignee or value of customfield from a result of filter

Zaldy Parian
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.
February 12, 2023

Hi all,

I create a filter for all service mgmt tickets that are due fo review or approval. Then created a scheduled automation where the Then: Lookup issues is the filter. 

automate_1.png

The body of the email includes a table listing whatever is the result of the filter, like this example:

automate_2.png

The email works if I send it to myself. But how can I gather all Assignee and Remote Assignee and add them all in the To field of the email? 

Thanks.

2 answers

0 votes
Grace Webster
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 18, 2024

I'm having this issue as well - the audit on the rule after the fail says the assignee field is blank. But i can put the same smart value into the body and works there. My guess is it fails when there is more than one assignee to send the email to. Any suggestions? Would like to use the rule over the subscription.

0 votes
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 12, 2023

@Zaldy Parian -

You can just change the To: element of the Send Email action to Assignee.

2023-02-12_19-11-48.png

For those email addresses associated to your custom field "Remote Assignee", you will need to use smart value syntax to obtain the custom field value - {{issue.[Custom Field]}}. (example - {{issue.Remote Assignee}} )

Please refer to the section on custom field in the Smart Values syntax/usage - https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--issue.

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Zaldy Parian
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.
February 12, 2023

Hi @Joseph Chung Yin ,

Thanks for your quick reply.

I tried it, but it didn't work. In the To field of the email automation, I added Assignee and {{issue.customfield_10174}}. But when I run the automation, the email was sent to my own email address instead of the Assignee or Remote Assignee.

auto_email1.png

Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 12, 2023

@Zaldy Parian -

In the issues that listed in your email body, are any of them assigned to you?  In addition, have to check with those issues' assignees to see if they have received the emails too?

Best, Joseph

Zaldy Parian
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.
February 13, 2023

Hi Joseph,

None of the tickets listed in the table in the email body is assigned to me. I also asked one of the Assignees, but no email notification came in into his Inbox.

Like Manuel Rodriguez likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events