Forums

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

Conditional Statement not working

Josh.Updyke September 15, 2023

I am trying to get this conditional statement to work

{{#issue.customfield_11131}}
{{#=if (equals(id,"13603"))}}<a href="https://www.google.com/">Test</a>{{/}}
{{/}}

 

It doesnt return anything, even though I know that one of the ids is in the list. The field is a multi-select field. I have tried basically the same code but using the value property and it works. But I would prefer to use the value could change in the future.

Any help is apprciated.

josh

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.
September 16, 2023

Hi @Josh.Updyke 

This appears to be a duplicate of your other question.  Please close this one and look here for response.  Thanks!

https://community.atlassian.com/t5/Jira-Software-questions/Smart-Values-Lists-and-If-statements/qaq-p/2479094

Kind regards,
Bill

Josh.Updyke September 18, 2023

Thank you. I was trying to reply to the first question but the forum would not let me post. It was giving some error about an html link. So I created this one to try and get an answer.

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events