Radio Buttons custom field enables you to select an option in a radio button field based on dynamic data source.
This custom field can be used for the following types of options:
If you go to an issue and edit this field, you will see an image like the following example:
Save the changes and the selected value should appear on the issue screen:
If the option type you selected is "Default", the picture above will look like the following example:
For the images on this page we used the following script.
string  projects = allProjects();
To use SQL Data Source, set the JNDI first. You can see details on the Data Source Configuration page.
SQL Initial Script
This example returns the project keys from the "project" table.
select pkey from project;