You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Trying to create an automation in our JSM instance to edit a field that is linked to our asset objects. I set the automation to condition based on simply the request type (all request types will be set to X group in assets).
I've been looking around and I think maybe the syntax is incorrect but I'm unsure of what to use in this case.
All I want to do is set the object to a specific value, no need to look up any extra values but simply set a static value based on the request type that comes into the portal.
When I set the field to edit, I've tried a few different syntaxes but every time I try to set it I get the same error on the rule when its run which is just:
"An error occurred while requesting remote information:
Hi @Phillip Jones,
Welcome to Atlassian Community!
When you set an asset field to a value you have to use AQL in order to get the object. Here is an example of an automation that sets the reporter's asset when they submit a request:
In your case if the object is always the same for the specific request type then this AQL should do the trick for you:
"key" = "<object key>" i.e. "key" = "IT-123"