This automation in JSM creating the object in Assets. I need to get the key for the created asset and update the JSM ticket with that key. Read I should be able to use createdObjects or createdObject but both blank.
The final set is just for debugging to enumerate {{createdObjects}}.
Should this work? Is there another approach to getting the key? Thanks!
Hi @Russ Jackson -- Welcome to the Atlassian Community!
I recall there is no such smart value for the created objects. Where did you read that information?
Here is a suggestion to add that smart value: https://jira.atlassian.com/browse/JSDCLOUD-11789
As a workaround, you may use the Lookup Objects action to gather the recent ones matching your criteria, and then use the {{lookupObjects}} smart value to access them.
Kind regards,
Bill
Bill,
Thanks so much for the response. I found the reference in one of my many web searches. I can attest that it doesn't work in Automation.
I used your suggestion and resolved with a lookup object to fetch the newly created Asset object.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Awesome; I am glad to learn it is working! Please consider marking this question as "answered" to help others with a similar need find solutions faster. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.