This page explains how to access the value of User-created custom fields of different field types using Groovy. You can access them using the getters of the Issue interface. However, accessing custom fields using the native Jira API can be much more complex, depending on the type of the custom field being accessed. Instead, it is easier to access the fields using the methods provided by JMWE. To understand how to write values into the writable custom fields see Raw value/text input for fields and Groovy expression input for fields.
'xxxxx' in the custom fields detailed below is the ID of the custom field. Click here to know how to find the ID of custom fields.
In this page:
Standard Jira custom fields
Checkboxes / Multi-select list
Multi-level Cascading select
Watchers field type
Add-on provided custom fields
Checklist for Jira
Insight custom fields
Insight Readonly Object/s
Description: A field of the type Insight Readonly Object/s that displays Insight Object/s.
Accessing a field of Insight Readonly Object/s: You can access a custom field of the Insight Readonly Object/s type using any of the following getters of the Issue interface:
Insight Referenced Object (single)
Insight Referenced Object (multiple)