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

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

This widget could not be displayed.
Nick Menere Community Champion Jun 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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

97 views 0 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you