Trying to add object details from Insight to an automation rule but it does not appear I have the right query.
The rule works but I was hoping to add the asset name and model in the description. I was hoping to add the assigned user to the summary field.
Hi @James Calimutan ,
I'm Nithaya from the Automation team at Atlassian. Since you used an Insight object trigger, you cannot use the format {{issue.(custom field name).(attribute name)}} because there is no issue triggered in your rule.
But you can access to the object attributes by using this format: {{object.(attribute name)}}
In your case, it should look like this: {{object.name}}, {{object.model}}, {{object.user}}
Let me know if it works,
Cheers,
Nithaya.
Disregard my response. @Nithaya had a sharper eye than me on this one noticing that this is an object update.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Nithaya.
Need help with the correct attributes to use. The below only pulls up the name of the asset and nothing else. I was hoping to get the Assigned User in the Summary and the Name and Model in the Description. Thanks in advance,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @James Calimutan - Without visibility into your schema, you should be using the following values:
{{object.<object type where your reference data is stored (e.g. Users)>.<attribute you're trying to bring in (e.g. Name)}}
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.
Hey @James Calimutan !
Did you manage to display anything? From what I see, the names of your attributes and references start with uppercase letters. I think that smart values are mostly case-sensitives.
Cheers,
Nithaya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nithaya
I removed computers from the syntax as that would not return anything. This is the syntax now. I still cannot get the Assigned User field to show up. The result for model is the key and not the actual model not sure why.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see! Since the attribute "Model" is an object reference, you need to use: {{object.Model.(the attribute name to get the model name)}}
As for the attribute "Assigned user", you need to type {{object.Assigned User}} with the space in between.
Let me know if it works!
Cheers,
Nithaya.
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.
This should be possible. The smart value format should look something like this:
{{issue.customfield_xxxxx.attribute}}
Ex. {{issue.customfield_12345.name}}
If you're dealing with scenarios where the object is referencing another object type it would look something like this:
{{issue.customfield_xxxxx.referenceAttribute.attribute}}
Ex. {{issue.customfield_12345.asset.name}}
Hope this helps.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.