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

Need some guidance on logging asset information

Dave Stillwell October 1, 2024

I am doing an asset lookup and I want to log the attribute values.  When I trigger my automation, the log shows that it was successful but all I see that is logged is Asset Information with nothing else logged.  Is my automation correct?  The ScriptRunner Documentation is not clear on how to log the attribute values.Screenshot.png

1 answer

0 votes
Mark Higgins
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 1, 2024

Hi @Dave Stillwell 

 

Welcome to the community!

The information in the audit log should be

{{lookupObjects}}

You can also so

{{lookupObjects.Attribute Name}}

eg

 {{lookupObjects.Service Owner.accountId}} 

Cheers

Mark

Dave Stillwell October 21, 2024

Sorry for the delay in responding, I just tried changing {{lookupassets}} to {{lookupObjects}} and the automation still did not return the Asset attribute values in the audit log.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events