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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,239
Community Members
 
Community Events
176
Community Groups

Using smart values in list.get() function?

Hi,

So I need to fetch the n-th object in an Insight multi-select custom field.

The below query works and gives me the correct object
Key = {{issue.customfield_13099.get(0)}}

However I need to use a custom field value (customfield_13113 in this example) in my automation that would, depending on circumstance, get the first, 2nd or 20th object in this Insight multi-select custom field (customfield_13099 in this example).

So far I've tried:

Key = {{issue.customfield_13099.get(issue.customfield_13113.value)}}
Key = {{issue.customfield_13099.get({{issue.customfield_13113}})}}
Key = {{issue.customfield_13099.get({{issue.customfield_13113.value}})}}

Does the list.get() function even accept non-numeric expressions or is it even possible to use smart values within smart values?

Thanks for your help!

1 answer

I have the same question and I can't find an answer.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events