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

1 accepted

1 vote
Answer accepted
Jason Galea
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.
May 22, 2018

Hi @Foulques de M

You can arrange the fields by accessing the Project Settings and finding the 'Screens' under the 'Screen Schemes'.

On each 'Screen' you should have the list of fields. Just sort them accordingly.

you can also force people to fill in that field by setting it as a mandatory field from the 'Field Configuration' settings.

Cheers,
Jason

Foulques de M
May 22, 2018

Worked perfectly ! Thanks for your help ! 

Suggest an answer

Log in or Sign up to answer