Forums

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

how to send email in jira with smart values in a table look

Rasa
Contributor
May 4, 2025

i want to send feild valuse with email in table

i use this code:

<table>
<tbody>
<tr>
<th>Heading 1</th>
<th>Heading 2</th>
</tr>
{{#issues}}
<tr>
<td>Custom field name 1</td>
<td>{{issue.custom_field_1.value}}</td>
</tr>
<tr>
<td>Custom field name 2</td>
<td>{{issue.custom_field_2.value}}</td>
</tr>
{{/}}
</tbody>
</table>

from Dexter de Vera

but i do not know how to replace my custom field with  {{issue.custom_field_1.value}}

 

2 answers

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 5, 2025

Hi @Rasa 

These two documentation pages may help with your rule:

Finding the smart values (or custom field ID) for a field: https://confluence.atlassian.com/automation/find-the-smart-value-for-a-field-993924665.html

Using the bulk-handing, plural {{issues}} smart value in a rule: https://confluence.atlassian.com/automation/run-a-rule-against-issues-in-bulk-993924653.html

 

Also, I note the rule outline you show is creating two rows for each issue.  Is that what you intended?

 

Finally, if that does not help, please provide more context by posting:

  • an image of your complete rule in a single image
  • images of the trigger, actions, conditions, and branches
  • an image of the audit log details showing the rule execution
  • explain what is not working as expected, and why you believe that to be the case

 

Kind regards,
Bill

0 votes
Dilip
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 5, 2025

First you need to find the custom field id for your field by follow the below steps:
Setting (cog) -> Issue -> custom field -> search for your custom field -> click on three dots and select field context, you will find the field custom field id in the URL of the page, like customFieldId=XXXX.

once you have the field id, you can send it's value like below:
{{customfield_XXXX.value}}

I hope this helps with your query

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events