Forums

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

Jira Automations Send email to new/changed person in user picker field fieldChange

Joshua Wyss
November 16, 2022

I want to be able to use Jira Automations to send an email to the new person in a user picker field (Assignee, custom, etc.) and not all people. I want this to trigger on 2 different user picker fields so I want to use the {{fieldChange}} smart value but it does not provide the email address.

 

Scenario 1

For example, when a new person is assigned to a Jira Issue I want to trigger and send only that new person an email.

Scenario 2

When a new person is added to a multi-person person selector custom field I want to trigger and only send an email to that new person and not others.

 

I have tried

In the 'Send an email" action I've tried adding the following to the "To:" field but none have succeeded.

  • {{#fieldChange}}{{emailAddress}}{{/}}
  • {{fieldChange}}
  • {{fieldChange.to}}
  • {{#fieldChange}}{{emailAddress}}{{/}}
  • {{addedfieldChange.values}}

The Error:

Send Email:

Could not send email, the 'To' address field is empty. If you have referenced a field it may be empty.

The same error happens for all options.

Related questions:
https://community.atlassian.com/t5/Jira-Software-questions/How-can-I-get-email-address-from-changed-field/qaq-p/1484803

https://community.atlassian.com/t5/Jira-questions/Jira-Automation-How-to-send-mail-only-to-added-User/qaq-p/1443188

1 answer

0 votes
Nic Brough -Adaptavist-
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 Champions.
January 30, 2018

Sounds right, but you seem to be missing "associate new issue type screen scheme with the project"

David
Contributor
January 30, 2018

Thanks, right, I noted that that association is missing in my para 2 above, I can't find exactly where to make that association in the UI.

Nic Brough -Adaptavist-
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 Champions.
January 30, 2018

Go to the project admin and look for the screens section.  There should be an option to edit the current one as well as swap to a new scheme

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events