PCF-PRO - Checkbox

Power Custom Fields PRO™ is becoming Power Custom Fields™


Power Custom Fields PRO™ is being upgraded to Power Custom Fields™. We are removing Power Custom Fields PRO™ from the market to focus resources on the combined app, Power Custom Fields™ which has all the features of PRO™ and more. Existing Power Custom Fields PRO™ users can get 65% off their new Power Custom Fields™ license by following the steps here.


Contents

Checkbox 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

Adding PCF - Checkbox custom field

  1. Log into your Jira as Admin.
  2. Go to Administration > Issues > Custom Fields page.
  3. Click Add custom field and select PCF - Checkbox.

After you add this field, you need to configure it as described on the Configuring Power Custom Fields PRO™ page.

Using PCF - Checkbox 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.

Examples

Using checkbox custom field with SIL Data Source 

Getting Project Components

This example gets all components existing in the project "TEST". The components are added as options to the custom field which uses this script as data source.

string projectKey = "TEST";
string[] componentNames = admGetProjectComponents(projectKey);
number[] componentId;
for(string componentName in componentNames){
    JComponent componentNames = admGetProjectComponent(projectKey, componentName); 
    componentId += componentNames.id;
}
return componentId;

Using checkbox 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 all component names.

select cname, id from component;

See also