hey @Wayne Yang
if u want to access Assets via automation while running automation against issue scope, you can use the dot notation like below
Create variable
Variable name: supportGroup
Smart value:
{{issue.Configuration item.first.Support group.Jira group}}
We have a custom field of a type assets in the issue above, named Configuration item.
Referencing this field from issue scope, will give you the value of asset object reference, which you can dot notation style drill down to the value you are after.
In my example our custom field accepts multiple asset objects in it. Example shows how to get the value of the first one, then look into its "Support group" attribute, which happens to be an object reference to some other asset. That other asset object reference contains an attribute called "Jira group"
And so on and so forth.
Hope that helps
Hi @Wayne Yang
Welcome to our community.
There's a tip to query your result through Basic search and then switch to Advanced AQL. You will get what you want.
Hope it helps,
Thanks,
YY哥,填空题咨询
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.