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: 

two attribute values to set a third attribute value in Insight object

Joshua Arfsten
November 5, 2021

Hello im using JSM/insight cloud. Im trying to get two attributes fields to merge into a third attribute fields. i tried follow the document and thread here.
However im still missing something. attached are the results of my attempt. thanks for the in advance.  image.pngimage.png

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Mikael Sandberg
Community Champion
November 5, 2021

Hi @Joshua Arfsten,

Welcome to Atlassian Community!

In order to get the attribute values for the object you have to use smart values. So in your case the value you give Unique Name would be something like this:

{{object.Serial number}} {{object.Asset tag}}

Joshua Arfsten
November 5, 2021

hey Mikael, thanks appreciate it. so that is close im now getting the values i need based on your feedback. however now everytime a new object is created it adds the values to the next object. how do i get the automation rule to apply per object? image.pngimage.png

Mikael Sandberg
Community Champion
November 5, 2021

Do you have any other automations that triggers on object creation? From what I can see from the picture the second object doesn't get the same format that you have defined in the automation. What I would do is to add a log entry to the audit log with the value of {{object.size}}, then you will know how many objects are coming in to the automation.

Joshua Arfsten
November 5, 2021

 I have only one automation rule enabled for insight on object creation. It looks like the automation rule is pulling the asset and serial of each object i create and adds the sum to the next created object. an example would be the first one is correct, the second one has the serial and asset tag of the first object and the second object in the unique name. 

TAGS
AUG Leaders

Atlassian Community Events