The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Mark Higgins
Community Champion
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.

TAGS
AUG Leaders

Atlassian Community Events