Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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.

Thanks,
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.

Suggest an answer

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

Announcing Jira Service Management!

Hello there Cloud Community members! Today, we’re thrilled to announce Jira Service Management, the next generation of Jira Service Desk. Jira Service Management touts advancements in IT service ...

2,204 views 28 39
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