Hello - I am trying to create a JSM automation using Assets attribute information. I want to create a new ticket based on the refresh date attribute for Assets (laptops) and add information about the refresh date and serial number in the ticket the automation it creates. I was able to set up the automation to create a ticket based on the refresh date (Asset attribute) but I am having trouble surfacing the serial number attribute in the ticket that was created. I've created custom fields for both Asset attributes as well. Any help would be welcomed!
Hi @Matt Sullivan,
Welcome to Atlassian Community!
In order to set an Asset object field you have to use AQL, so you would have to use something like this "Serial Number" LIKE {{object.Serial Number}} in order to set that field. {{object}} is what is being returned by the AQL branch, and it can return up to 50 objects so make sure that your branch query only return one object.
Thanks! Not sure what I was doing wrong before, but adding {{object.Serial Number}} in the description got me what I needed. I appreciate your feedback.
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.