PCF - Radio Buttons

Contents

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: 

  • String (default)

  • Component Picker

  • Group Picker

  • Issue Picker

  • Project Picker

  • User Picker

  • Version Picker

Using 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 Radio Buttons custom field with 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 details on the SQL Data Source page.

SQL Initial Script

This example returns the project keys from the "project" table.

select pkey from project;

See More