Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Table of Contents
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:
If the option type is, for example, set to “Issue Picker”, it will be displayed like this:
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.
Code Block |
---|
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:
Code Block |
---|
select group_name from cwd_group; |
See More
Child pages (Children Display) | ||
---|---|---|
|