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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Automation smart values: numerical comparison with boolean And


I want to use automation to send an email and the text should vary based on the value of a select list field. The values are 1-10. 

I have it working for values greater than or equal to 7:

Risk: {{#if(issue.Risk.value.asNumber.gte(7))}} High risk {{/}}

But I would like it to say 'Medium Risk' if the value is less than 7 but greater than or equal to 4, and I can't get this working. For example this -

{{#if( (issue.Risk.value.asNumber.gte(4))}} Medium Risk {{/}}

leads to this error:

Error rendering smart-values when executing this rule:Tokens must be separated by '.': && (issue.Risk.value.asNumber.gte(4)): Risk: {{#if(issue.Risk.value.asNumber.gte(7))}} High Risk {{/}} {{#if( (issue.Risk.value.asNumber.gte(4))}} Medium Risk {{/}}

What changes do I need to make?




1 answer

1 accepted

1 vote
Answer accepted

Hi @Julia Foden 

Have you tried nesting the tests?  Perhaps something like this (assuming your field is called Risk and appears to be text):

{{#if(issue.Risk.value.asNumber.gte(4))}}{{#if(}}Medium Risk{{/}}{{/}}

And maybe skip the && and just put all the tests end to end, knowing that at least one of them will evaluate to True.

Updated: sorry I left story points in my first example.  :^)

Best regards,


Yep that worked @Bill Sheboy , thank you very much!

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Trello

📹 Favorite Trello templates

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. In this video, I'll share my favorite Trello templates. Templates mentioned in ...

99 views 5 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