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

Call string functions on a smart value for select box Edited

I have a select box whose values are in the format of:

"1 - stuff; more stuff; and other stuff"

I am trying to use smart values in an automation to get the 1.  This seems straight forward and I should be able to do

{{issue.Field Name.charAt(0)}}


{{issue.Field Name.substring(0,1)}}

However, both of these return None.  While debugging, I've found the following things return the expected result:

{{issue.Field Name}}

{{#urlEncode}}{{issue.Field Name}}{{/}}

Interestingly, these return None:

{{issue.Field Name.urlEncode}}

{{issue.Field Name.toLower()}}

My suspicion is that it is returning a non-string value an the functions are therefore failing?  How can I call string functions on select box values?


0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

🤺 Atlympic Event: Partnerships

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

199 views 3 7
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