Forums

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

Help with Assets and JSM Automation

Matt Sullivan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 30, 2024

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! 

Screenshot 2024-07-30 at 10.01.32 AM.pngScreenshot 2024-07-30 at 10.01.16 AM.pngScreenshot 2024-07-30 at 10.01.25 AM.pngScreenshot 2024-07-30 at 10.00.29 AM.png

2 answers

1 accepted

2 votes
Answer accepted
Mikael Sandberg
Community Champion
July 30, 2024

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.

0 votes
Matt Sullivan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 30, 2024

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. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events