Forums

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

JIRA automated e-mail with table containing empty smart value fails

Agnes Bodor November 25, 2025

Hello All,

 

I would like to set up an automated JIRA e-mail sending, where the content of the e-mail has a table filled with smart values.

Some of the smart values may not have a value/be empty, e.g. I want to provide the last comment of the item.

The reference to the value in the body of the e-mail does not cause any issue:

{{trigerissue.customfield_1234}}

However, if I add it to the cell of the table, the rule fails.

I tried{{trigerissue.customfield_1234|No comment}}

However, this did not work neither in the body of the e-mail nor in the table.

Any idea why the same value in the table causes an issue, and how to resolve it?

 

Thank you in advance for the help!

2 answers

0 votes
Aaron Pavez _ServiceRocket_
Community Champion
November 25, 2025

Hi @Agnes Bodor 

Can you share with us a screenshot of the whole automation, please?

Regards - Aaron

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.
November 25, 2025

Hi @Agnes Bodor 

Context is important for automation rule questions.  Would you please post the following to help the community offer better suggestions?  Thank you!

  • What is the type of your custom field?
  • An image of your complete rule in a single, continuous image for context
  • An image of the rule action where you are using that smart value expression
  • The complete text of the expression you are using
  • An image of the audit log details showing the rule execution

 

Kind regards,
Bill

Agnes Bodor November 25, 2025

Hello,

 

Unfortunately, I cannot attach those.

It's a manually triggered rule; I am using custom e-mail sending.

I added the table in the rich text format through the table option at the top.

I tested adding any smart value field to the table, for which its value was not set, and it causes the email sending to fail with "Invalid value provided for required field:body". 

Tested with the last comment, as well as with the due date. The problem is not related to the field type. For any of the values I tried, once the value is set, the email is successfully sent.

 

 

Suggest an answer

Log in or Sign up to answer