Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Contents

Table of Contents
excludeSee also

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.

Code Block
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.

Code Block
select pkey from project;

See More

Child pages (Children Display)
pagePower Custom Fields User Guide