PCF - Radio Buttons
The PCF - Radio Buttons custom field lets you select a radio button option based on a dynamic data source.
This custom field uses standard configuration settings.
For information about supported option types, see Supported option types by custom field type.
For step-by-step setup guidelines, see Add and configure a new Power custom field.
How the field displays
This is an example of how the PCF - Radio Buttons custom field (with option type Issue Picker) displays on the edit issue screen:
When you update the issue, the new value appears on the view issue screen:
Examples
Example | Sample script | Sample display output |
---|---|---|
Using PCF - Radio Buttons with SIL data source | This script retrieves all available project keys and adds them as options to the custom field. string [] projects = allProjects();
return projects;
| "DEMO (Demo Project)" |
Using PCF - Radio Buttons with SQL data source | This query retrieves all project keys from the database. Before using SQL data source, ensure you've configured the JNDI settings as detailed in the SQL data source documentation. select pkey from project;
| "DEMO (Demo Project)" |