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

1 vote
Accepted answer
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
Community showcase
Posted 12 hours ago in United States

Administrators Cleanup

Good morning, After a long weekend cleaning up, I am still in the cleanup mode 😊. I am curious to know: When do you feel the urgency to cleanup your Atlassian Tools? How many times do y...

16 views 0 0
View post

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