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

Using smart values in list.get() function?

indrek_orrin April 23, 2021

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

0 votes
Stiliyan Savov September 28, 2022

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
AUG Leaders

Atlassian Community Events