...
To print out multi-value fields you need to use the mustache list iteration syntax. For the example above this would be: The exact expression depends a bit on the type of field. Here's some examples:
Field type | Smart Field syntax | What it prints |
---|
Checkbox, Multi Select |
No Format |
---|
{{#issue.fields.Equipment}} {{value}}{{/}} |
|
...
...
|
Checkbox, Multi Select |
No Format |
---|
{{#issue.fields.Equipment}} {{value}}{{^last}},{{/}}{{/}} |
|
...
...
|
Multi User select |
No Format |
---|
{{#issue.fields.QA Tester}} {{displayName}}{{/}} |
|
...
| Barney Rubble Fred Flintstone |
...
|
Labels |
No Format |
---|
{{#issue.fields.labels}} {{.}}{{/}} |
|
...
...
Related articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | AUTO4J |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label = "kb-how-to-article" and type = "page" and space = "AUTO4J" |
---|
labels | kb-how-to-article |
---|
|
...