PCF - Multi Select

Table of Contents

The Multi Select custom field enables you to select multiple options in the 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 the PCF - Multi Select custom field

If you go to an issue and edit this field, you will see an image like the following example: 

image-20240212-144145.png

If the option type is, for example, set to “Issue Picker”, it will be displayed like this:

image-20240212-144535.png

Save the changes and the selected values will appear on the issue screen: 

Or, if the option type is set to “Issue Picker”, it is displayed like this:

Examples

Using Multi Select custom field with SIL Data Source

Getting groups

This example gets the groups like in the above examples.

return userGroups(currentUsername());

Using Multi Select 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

The following example returns a list of group names:

select group_name from cwd_group;

See More