How can I use Smart Fields to print the value of a drop down list?

Michael Andolfatto
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.
June 27, 2017

I've been using {{issue.fields.CustomField}} to print the value of single line text fields in automatically generated e-mails, but the same syntax doesn't work for drop down lists.

1 answer

1 accepted

1 vote
Answer accepted
Nick Menere
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.
June 28, 2017

Hi Michael,

The values for selects need a further level, e.g. {{issue.fields.CustomField.name}}

If it is a multi-select you will need to loop over the values with:

{{#issue.fields.CustomField}}
{{name}}
{{/}}

 

Hope this si what you were after.

 

Cheers,

Nick

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events