PCF - Multi Select
Contents
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 PCF - Multi Select custom field
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 values will appear on the issue screen:Â
If the option type you selected is "Default", the picture above will look like the following example:Â
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 Data Source Configuration page.
SQL Initial Script
This example returns a list of group names.
select group_name from cwd_group;