Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


...

Warning
titlePower 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

Table of Contents
excludeSee also

...

Single Autocomplete custom field enables you to select an option in the select list 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 - Single Autocomplete custom field

  1. Log into your Jira as Admin.
  2. Go

...

  1. to Administration > Issues > Custom Fields page.
  2. Click Add custom field and select PCF - Single Autocomplete.

Image Removed

In order to see how you can configure all options above, check this: After you add this field, you need to configure it as described on the Configuring Power Custom Fields PRO

This custom field can be used for many types of options: 

       Image RemovedPRO™ page.

Using PCF - Single Autocomplete custom field

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

Image Modified

Save the changes and the selected value should will appear on the issue screen: 

Image Modified

Using PCF - Single Autocomplete custom field

Examples

Using Single Autocomplete custom field with SIL Data Source

Getting Issues

This example gets all created issues with the summary matching the search.

Code Block
string [] issues = selectIssues("created < now()");
string [] res;
for (string iss in issues) {
    if (contains(iss.summary, argv["query"])) {
    	res = addElementIfNotExist(res, iss);
    }
}
return res;

...

Using Single Autocomplete 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 Autocomplete Script

This example returns all the issue keys.

Code Block
select  p.project_key ||'-'||i.issuenum as "KEY"
from jiraissue i
inner join project_key p on p.project_id = i.project

...

See also

...