PCF - Radio Buttons

The Radio Buttons custom field enables you to select a radio button option based on a dynamic data source. 

This custom field can be used for the following types of options: 

  • String (default)

  • Component Picker

  • Group Picker

  • Issue Picker

  • Project Picker

  • User Picker

  • Version Picker

Using the PCF - Radio Buttons custom field

If you go to an issue and edit this field, you will see an image like the following example (when the Option type is Issue Picker): 

image-20240212-145634.png

Save the changes and the selected value should appear on the issue screen: 

image-20240212-145715.png

Examples

Using the Radio Buttons custom field with a SIL Data Source

Getting Projects

For the images on this page, we used the following script:

string [] projects = allProjects(); return projects;

Using Radio Buttons custom field with SQL Data Source

To use SQL Data Source, set the JNDI first. You can see more details on the SQL Data Source page.

SQL Initial Script

The following example returns the project keys from the "project" table:

select pkey from project;

See More