Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

What is the smart value for the most recently added value in a multi select dropdown?

Patrick Cartier October 9, 2023

I've poured over the documentation on smart values in general and smart value lists, but can't seem to find anything.

I can see how to get the first or last value from the multi select dropdown, but I can't seem to find how to get the most recently added value. First or last value is dependent on the order of values in the admin settings for the list, if ordered alphabetically then first just pulls the the "highest ranking" value starting with A.

I'm looking to use this to set the value for another field. 

Please help! There must be a way and maybe I am overlooking something simpler!

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 9, 2023

Hi @Patrick Cartier 

Assuming you are using the Field Value Changed trigger...

Please try using the field changed ones, like this:

{{addedFieldChange.values}}

Unfortunately the documentation has the casing wrong on many of these smart values, so you may need to experiment if you want to use the other ones.

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--fieldChange--

Kind regards,
Bill

Patrick Cartier October 10, 2023

Thank you @Bill Sheboy , you're assumption is correct. You are becoming a bit of a legend with these automation tips. 

The value I was looking for was {{addedfieldChange.values}} which I found in the documentation you linked!

I also noticed the documentation is inconsistent for a few things, Fix Versions being one of them, but I am digressing.

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 10, 2023

Thanks, and does this solve your need for the problem?

Patrick Cartier October 10, 2023

It does for this specific request. Thanks again

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events