email notification from automation rule
Asked by Zaid Al-Tamimi:

Hello eveyrone. I am trying to create an automation rule that creates a new ticket upon custom field value and I am struggling with how to get the right syntax to fill in all needed fields from the original ticket. Could enyone help? Either with some example or link to deep dive documentation? I am no developer-

Many thanks

Zaid


Answers:
author: Hans Polder
body: Hi [@Zaid Al-Tamimi](/t5/user/viewprofilepage/user-id/5423390) ,

Can you share a screenshot of the automation rule you got so far? Or otherwise, give a bit more context/details of what you would like to achieve?

As you can see below, there are quite a few options to set information:

1. First, you can select which fields you want to fill in a certain way (like Assignee, Component, Summary, Description, etc)
2. Then, using the 3 dots, you can choose to 'SET' (which is default selected) or 'COPY' which allows you to copy information from another issue
3. You can use the {} sign to add so called smart values in a relatively easy way - there is little 'coding' required but once you've got the hang of this, it's pretty fun!
4. Additionally, if you have chosen to 'COPY' values, you can click on the 'Current issue' part highlighted below to choose to copy values from another type of issue (the Parent, Epic, etc, and even to copy the value from another field INTO the field of your choice.

![Screenshot 2024-07-23 160444.png](https://community.atlassian.com/t5/image/serverpage/image-id/337361i43FF151B05E4C9CE/image-size/large?v=v2&px=999 "Screenshot 2024-07-23 160444.png")

comments: author: Zaid Al-Tamimi
body: Hi [@Hans Polder](/t5/user/viewprofilepage/user-id/5506451)

thanks for the reply. I will try to explain one case. See attached image. I have a custom field Building Access that has some values. I was about to create an automation rule for the one that is not an Agent in Jira SM just to let him know what he has to do. So I need to put in there name of the reporter and values selected from the custom field and some text that I know how to do.

![automation2email.png](https://community.atlassian.com/t5/image/serverpage/image-id/337374i6F97B0714BCA4841/image-size/large?v=v2&px=999 "automation2email.png")


author: Hans Polder
body: [@Zaid Al-Tamimi](/t5/user/viewprofilepage/user-id/5423390) ,

You should use that { } icon on the bottom right to get you started (1). You can search through a ton of options (2) by either entering a search option, or just clicking through the options shown on screen. You can then hover over the item you need, click the copy icon and paste it on the desired spot in your template on the right.

![Screenshot 2024-07-23 165137.png](https://community.atlassian.com/t5/image/serverpage/image-id/337379iB537E3D57917EC2C/image-size/large?v=v2&px=999 "Screenshot 2024-07-23 165137.png")

Next to what's available in this { } search box, you can also access values in certain fields. Usually this can be obtained by entering {{issue.\<name of custom field\>}}, like in your case {{issue.Building Access}}:

![Screenshot 2024-07-23 165940.png](https://community.atlassian.com/t5/image/serverpage/image-id/337386i3601D96D8910CC61/image-size/large?v=v2&px=999 "Screenshot 2024-07-23 165940.png")

It will look like this:

![Screenshot 2024-07-23 165759.png](https://community.atlassian.com/t5/image/serverpage/image-id/337383iBDD49D9E280E5E9B/image-size/large?v=v2&px=999 "Screenshot 2024-07-23 165759.png")


author: Zaid Al-Tamimi
body: Hi [@Hans Polder](/t5/user/viewprofilepage/user-id/5506451)

thank you I got it all right now. It was very helpfull.


author: Hans Polder
body: Happy to help!

Good luck with your Automation journey ?


Tags: cloud

jira-automation

jira-service-management

jira-service-management-cloud