Skip to end of banner
Go to start of banner

PCF-PRO - Single Select

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 25 Next »

Content

Configuring PCF - Single Select custom field


Go to the Administration page, choose Custom Fields link and add an PCF - Single Select.

In order to see how you can configure all the options above, check this: Configuring Power Custom Fields PRO

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

      

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

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

Using PCF - Single Select custom field

Examples

Using Single Select custom field with SIL Data Source

Getting Project Versions

The example gets project versions.

string projectKey = "TEST";
string[] versionNames = admGetProjectVersions(projectKey);
number[] versionId;
for(string versionName in versionNames){
    JVersion version = admGetProjectVersion(projectKey, versionName); 
    versionId += version.id;
}
return versionId;

This example is used to generate the pictures above.

 

Using Single Select custom field with SQL Data Source

First of all, in order to use SQL Data Source, you have to set the JNDI as described here.

SQL Initial Script

This example returns the versions names.

select vname, id from projectversion;


See also


  • No labels