Notification using a custom field at change of status
Asked by Kimberly Kriegler:

I have created a notification rule to fire an email when mark done. I used syntax on my rules and it is erroring out stating the field is not populated when it is.![Notification for Done.png](/t5/image/serverpage/image-id/329257i7DED8F1A8A0739CF/image-size/large?v=v2&px=999 "Notification for Done.png")![Image for field populating.png](/t5/image/serverpage/image-id/329258i536E49BF3F9D0FF9/image-size/large?v=v2&px=999 "Image for field populating.png")


Answers:
author: Duc Thang TRAN
body: Hello [@Kimberly Kriegler](/t5/user/viewprofilepage/user-id/3855555)

I suppose you need to send a email to a user in a custom field "**Email for Notification** "  
Can you try with this smart value ? {{issue.Email for Notification.emailAddress}}

comments: author: Kimberly Kriegler
body: Yes, I did in the screen shot above I have it in the "To" field


author: Duc Thang TRAN
body: [@Kimberly Kriegler](/t5/user/viewprofilepage/user-id/3855555)

In your screenshot, I see a "space between email and address" that's why I suggested you remove that space.  
I have already tried either via smart value or via the list in user picker.

![Capture d??cran 2024-06-11 235937.png](https://community.atlassian.com/t5/image/serverpage/image-id/329295iEDD8359E8E080CF6/image-size/large?v=v2&px=999 "Capture d??cran 2024-06-11 235937.png")  
If it doesn't work, maybe this field is not of the type multiple user picker.


author: Kimberly Kriegler
body: Ok, thank you for the clarification and I amended the smart value and removed the space. The field "Email for Notification" is multiple entry field. Now it states does not match the condition "Condition". I am trying to have the notification go to the email addresses in this field. The condition is to look to see if there is email address(s) there. I also tried inputting the same as you show above however Email for Notification on its own is not recognize as a field to grab the data. the custom field I am using is a multi text box. The emails needs to go to people outside of the JIRA license people

There are email address(s) there so not sure why the condition is failing :(

![Issue Field Condition.png](https://community.atlassian.com/t5/image/serverpage/image-id/329535iA7CCB609E3F27FF2/image-size/large?v=v2&px=999 "Issue Field Condition.png")


author: Duc Thang TRAN
body: [@Kimberly Kriegler](/t5/user/viewprofilepage/user-id/3855555)

I think the issue is your field "Email for Notification" is not a field type multiple user picker  
So for a free tex multiligne, you can using this syntax

{issue.Email for Notification}}

in condition that have only one value

I suggest to using a field type User Picker (multiple users)


author: Kimberly Kriegler
body: Thanks again for your response, the field is set for multiple users however when inserting your suggested {issue.Email for Notification}} I get an error ![Error on email address for syntax.png](https://community.atlassian.com/t5/image/serverpage/image-id/329939iB55E62261340E4B2/image-size/large?v=v2&px=999 "Error on email address for syntax.png")


author: Duc Thang TRAN
body: [@Kimberly Kriegler](/t5/user/viewprofilepage/user-id/3855555) Is missing a { from the smart value, it shoul be

{{issue.Email for Notification}}  
Just confirme , your field "Email for Notification" is a field text or user picker ?


author: Duc Thang TRAN
body: Here is a exemple

Top : text field

Bottom : User Picker

![2024-06-14 16_28_37-Window.png](https://community.atlassian.com/t5/image/serverpage/image-id/329942iBBB4D76D72F6F3AC/image-size/large?v=v2&px=999 "2024-06-14 16_28_37-Window.png")


author: Kimberly Kriegler
body: Holy Happy Friday the dbl {{ }} worked. Thank you so much for guiding me through this the entire week :)


Tags: cloud

jira-cloud