Warning | ||
---|---|---|
| ||
|
Power Custom Fields PRO ™ offers the following option types:
- String (default)
- Component PickerGroup Picker
- 13893857
- Issue Picker13893857
- Project Picker
- User Picker
- 13893857Version Picker
You can use any option type with any type of the custom field. For more information about our custom fields, see pages in the User Guide section.
...
Code Block |
---|
string projectKey = "TEST"; string[] componentNames = admGetProjectComponents(projectKey); number[] componentId; for(string componentName in componentNames){ JComponent componentNames = admGetProjectComponent(projectKey, componentName); componentId += componentNames.id; } return componentId; |
This is the SQL script to get all components:
...
It gets all versions existing in the "TEST" project. The versions will be added as options to the custom field which uses this SIL script as data source.
This is the SQL script to get all versions.
...