Confusion Over Jira Smart Value Conditional Syntax

Jira smart value conditionals are misbehaving; correct branch output missing. Revised code below may help:

Gadget: {{#if(!data.gadget.empty)}}**{{data.gadget.val}}** > {{else}}__none__ > {{/if}}
Switch: {{cond(data.flag, 'on', 'off')}}
Label: {{#if(info.label.present, '**' + info.label.value + '**', '__none__')}}

Identify syntax error?

hey jollymusic3, i reckon the error is on the label condition - seems you’re missing a closing bracket for the if logic, and maybe your cond function too. try adjusting those and see if it fixes the output. cheers