Extracting numbers from a drop down option

Dmitry Korobov July 19, 2022

i have a dropdown field with selected option of "E7 Min 91,945 Mid 114,012 75% 125,045 Max 136,078". I need to extract 125,045 out of it. Doing things like this produces absolutely nothing {{issue.Exempt Paygrade.match(".*(75% \d*,\d*).*")}}. It seems to be a good pattern based on  https://regex101.com/ test. What would be a proper smart field expression here?

1 answer

1 vote
Dmitry Korobov July 19, 2022

i got some success with {{issue.Exempt Paygrade.value.match(".*(75% \d*,\d*).*")}} . Apparently it wants .value infront

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events