Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Using smart values in list.get() function?


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!

0 answers

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,598 views 20 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you