Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to access to index of atribute from objets list

Miriam Fernandez
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!
May 3, 2024


I try to do an automatization and im doing a lookobject list to get data from.CMDB.

But i dont know how to acces to an atribute current index to keep the value in a variable.

I have try with this sentence:

{{Lookobject.get(index).atributename}} but it doesnt work

If i use similar

{{Lookobject.get(0).atributename}} it works but this only give me the first item. I need to work with the current item. How i can access and keep this value?

1 answer

0 votes
Fernando Eugênio da Silva
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 14, 2024

@Miriam Fernandez , Welcome to the Atlassian Community!

After using the lookup to pick up your objects, use Advanced branching.

In Smartvalue set: {{lookupObjects}}
In Variable name give the name you prefer

This will allow you to treat each object in your lookup as a unique item where you can perform actions on them. Like this way:Screenshot_178.png

Then you can use {{object.AtributeName}} to see the atribute for each object present in your lookup.

Hope this helps you.

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events