Forums

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

Adding a Custom Form Field answer into the automation email.

Gerrald Stephen March 12, 2024

We have setup a form for the New Employee account request and have setup automation to send an email when a specific answer is selected. I was wondering if an answer put in a different short text type field can be added to the email sent out?

As an example, In the form we have the New Employee Name field (Short Text type) which we have linked to a Jira custom field (New Employee Name). We have setup the automation to send out an email to the IT team when new equipment is requested. Is there a way to add the answer to the New Employee Name to the email body?

I have tried putting in the {{issue.New Employee Name}} into the email body and this doesn't seem to work.

TIA.

1 answer

1 accepted

3 votes
Answer accepted
Emily _ DevSamurai
Community Champion
March 12, 2024

Hi @Gerrald Stephen 

As far as I understand, if {{issue.New Employee Name}} didn't work, it's possible the field identifier isn't recognized or there's a syntax issue.

For custom fields, the syntax often looks like this: {{issue.fields.customfield_XXXXX}}, where XXXXX is the custom field ID.

I hope this will help!

Gerrald Stephen March 12, 2024

Hi @Emily _ DevSamurai

Thank you for sending this through. Ill trial this out and let you know. Hopefully this fixes it. :) 

Like Emily _ DevSamurai likes this
Gerrald Stephen March 13, 2024

Hi @Emily _ DevSamurai ,

Update on this, I have had to recreate the custom field as I think it was some issues with the way it was created.

I have used the new Custom field and this is now working.

Thank you for your assistance. 

Like Emily _ DevSamurai likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events