Forums

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

Reference filtered assets object in Send Email action within branch for AQL

Bin
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.
January 24, 2024

See the screenshot below.  I intend to schedule 30-day email notices against the data in Jira Assets User objects.  In the Branch for AQL condition, the condition passed with one user.  If in Send Email action, if TO address is a specific email address.  The email is sent well but any dynamic values of AQL smart values are empty.  If I put a dynamic value {{Users.Email}} as in the TO address, audit log shows error "email could not be sent.  TO address is empty".

How can I loop through all the objects that are filtered in the Branch for AQL condition in Send Email action via AQL smart values?

Thanks much!

 

ReferenceToAssetsObjectsInBranchForAQL.jpg

1 answer

1 accepted

0 votes
Answer accepted
Bin
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.
January 29, 2024

Here is what I learned.

1) the syntax should {{object.Email}}, instead of {{user.Email}} in the branch.

2) attribute name is case-sensitive in reference

3) lookupObjects is needed if an Assets object is needed to pass.

Suggest an answer

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

Atlassian Community Events