Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

how to include custom field values in content of mail using automation for jira plugin.

Hi Team,

Application is on Server.

Using Automation for jira plugin.

The requirement is that once the ticket is in XYZ status, Automatically mail has to sent to the user .
In the content of the mail , along with some verbiage we need to send some custom field value that are captured in transition screen before ticket comes to XYZ status.

So how to write the content to capture the values of custom field.

actually we tried some content , which is not working
please find the attachment for the same.

Abhishree Nagesh

1 answer

0 votes

Hello @Abhishree Nagesh

Thank you for reaching out.

Per your description, it seems you have configured an automation rule to send an e-mail containing a custom field value when your issues reach a specific status, however, you are not being able to properly add the smart value syntax to add the custom field value in the e-mail message. Is that correct?

As you can see in the documentation below, the syntax to add a custom field smart value would be {{issue.My custom field name}}

Accessing issue fields 

If there are multiple custom fields with the same name or have the same name as a system field, you can also use the custom field id. {{issue.customfield_10001}}.

To find the custom field id, you can navigate to Jira Settings > Issues > Custom fields > find the custom field and click to Configure. The Custom Field ID should appear at the URL of the page.

Here's a practical Example:

1 - I created the following rule:

Screen Shot 2020-01-17 at 17.03.57.png

2 - Then, changed my issue status:

Screen Shot 2020-01-17 at 17.03.14.png

3 - Received the following e-mail:

Screen Shot 2020-01-17 at 17.03.02.png

Let us know if this information helps.

Hi, good morning. 

These days, I have an issue using these options with custom filed. Do you know if there is any problem today on Jira cloud? 

I tried with a simple name and after with ID name. Taken from xml export. 


The standards field are working well. ! 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Coming Soon: Insight Changing to Assets

The 2020 acquisition of Mindville added powerful asset and configuration management capabilities to Jira Service Management in the form of Insight. Following the completion of that integration, custo...

445 views 3 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you