Create
cancel
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

All Values return TRUE with Smart Values Conditionals

Hey everyone,

I am trying to put auto responses based on the request type in Jira service desk Cloud.

Here is my automation below;

{{ #if{{equals(issue.Request Type.requestType.name, "IT help")}}
Tech will take care of it.
{{ /}}

{{ #if{{equals(issue.Request Type.requestType.name, "Change/Feature Request")}}
Sorry, can't give any estimated completion date yet.
{{ /}}

 

However, regardless of the request type, both texts are being displayed. 

How can I fix that? 

thanks

1 answer

1 accepted

1 vote
Answer accepted
Kevin Bui Atlassian Team Jun 28, 2021

Hi @Evrim Demir,

The correct syntax is

{{#if(equals(issue.Request Type.requestType.name, "IT help"))}}

Tech will take care of it.

{{/}}

and

{{#if(equals(issue.Request Type.requestType.name, "Change/Feature Request"))}}
Sorry, can't give any estimated completion date yet.
{{/}}

 

Our documentation did list the syntax as you described it in your post, but this was an error - sorry about that! I've since corrected the docs.

Please let me know if this still doesn't work.

 

Cheers,

Kevin

Seems to be working. Thanks @Kevin Bui 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

658 views 2 18
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