Hello all,
We have an Object schema created to track our Organisation's IT portfolio (Laptops, phones, etc).
In all objects, one of the attributes that we would like to have is a (customised) Asset ID field, which would be a concatenation of the object type name and the key value of the object created. As we want this field to be populated automatically, I know that I need to go the automation rule.
I have set up an automation rule that catches when an object is created and what attribute(s) it needs to update. Where I am failing to be successful is on how to actually set the value for the attribute that needs to be updated.
Just to experiment, I have tried using {{object.Key}}just to see if the asset id attribute would get populated with the same value of the Key attribute, but the rule never runs successfully.
Any ideas on how I can reference other object attributes to populate another attribute?
Thanks so much in advance!
In automation rule testing/debug process, I would highly recommend that you write your smart value output to the audit log - see reference on how to utilize the "Log" action
https://support.atlassian.com/cloud-automation/docs/debug-an-automation-rule/
Once the audit log output looks good, then you can use the same smartvalue setup configuration to populate your custom attributes properly.
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Viasat Inc.
Hi Joseph,
Knowing about the debug function is really useful. When I use it it states that the log is empty in the debug section. This tells me that I'm not referencing object attributes in the correct way.
Could you point me in the right direction on to reference one attribute of the object to get the debug working please? If I get just one of the populated attribute values propagated to the the other attribute (and get it logged in the debug area) then Im sure I can get around the rest!
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.