Cloud Migration Resources
Planning a Jira Cloud migration? These resources can help you get started:
→ JMWE Cloud features – Review Cloud features and understand key differences between DC and Cloud.
→ Migration support from Appfire – Learn how we can help you migrate smoothly.
User-created Custom Fields
This page explains how to access the value of User-created custom fields of different field types using Nunjucks. Each field's structure is explained, with examples. To understand how to write values into these fields see, Text input for fields and JSON input for fields.
It is now possible to access any user-created custom field of an issue by its Field name or ID. Click here to know how to find the ID of custom fields.
Example:
{{ issue.fields.Projectpicker.name }} and {{ issue.fields.customfield_10302.name }}, both return the name of the selected Project.
When the field name contains a space or any special character, you need to use the array syntax to access the field:
Example:
{{ issue.fields['Multi user picker'][0].displayName }}
Select list
Checkboxes / Multi-select list
Description: A field of the type Checkboxes/Multi-select list, is an array of objects. Each object represents an option of the checkbox/select list.
Structure:
Accessing a field of Checkboxes/Multi-select list type:
The value of the last option:
{{ issue.fields['Multi-select field'] | last | field("value") }}Display the values of all selected options, separated by a comma:
{{ issue.fields['Checkboxes field'] | join("," , "value") }}Test whether a specific option is selected:
{{ issue.fields["Checkboxes field"] | find({"value":"Impediment"}) != null }}
Radio buttons / Single select list
Description: A field of Radio buttons/Single select list type is an object describing the selected option.
Structure:
Accessing a field of Radio buttons/Single select list type:
The value of the option:
{{ issue.fields['Single select field'].value }}