Forums

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

How to send email to the Jira user stored in an Assets attribute?

田中優貴 November 6, 2025

Body

I’m setting up an automation in Jira Service Management (Assets) to send notifications before the warranty expiration of assets.

Each asset object has an attribute called "User", which is a user-type attribute linked to a Jira user.

My goal is to send an email to the user specified in this attribute when the warranty is about to expire.
However, when I try to use {{lookupObjects.User.emailAddress}} in the automation rule, it fails with an error.

What I have tried:

  • Used the Lookup Objects action to find assets whose warranty is expiring soon.
  • Attempted to reference the email address of the user in the "User" attribute, but it does not work.

Questions:

  1. How can I correctly send an email to the Jira user stored in the "User" attribute of an asset object?
  2. Is it possible to display the user's email address in the email body using smart values?

Environment:

  • Jira Service Management Cloud
  • Assets (formerly Insight)
  • Using Jira Automation for notifications

1 answer

3 votes
Benjamin Anderson
Contributor
November 6, 2025

Use {{lookupObjects.User.accountId}} instead of emailAddress. Then, in the 'To' field of your automation email, use {{lookupObjects.User.emailAddress}} only after confirming the attribute is a User type (not text). If it’s text-based, switch it to User type or use {{lookupObjects.User.first.emailAddress}} when multiple objects are returned.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events