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.


Setting a default value for one custom field without autocomplete (checkbox, radio buttons, single or multi select)  is is very simple. All you have to do is to check/ select the desired necessary option(s). Example:For instance, like in the picture below: 

 


Setting the values for the For the select custom fields with autocomplete is not that easy, since the options are of type KPOption, so they you need to have defined define a label and an optionsoption as well, see KPOption details for reference.

The configuration for such a field would be like followsYou can use following configuration as an example

Image RemovedImage Added

In the example above , the custom field is rendered as an issue picker and the value is the id of the issue I that you want to select.

After the value will  be is set to default, the configuration will be is updated by itself according to the renderer. In our case, it becameYou can see example below:

Code Block
{"option":{"label":"","value":"10000"},"meta":{"longLabel":"TST-1 - update the documentation","tooltip":"update the documentation","shortLabel":"TST-1","iconUrl":"/secure/viewavatar?size=xsmall&avatarId=10310&avatarType=issuetype","href":"http://localhost:8070/browse/TST-1","labelOverride":"TST-1"}}

...

Note

If you want to set multiple values to a field, the separate these values should be separated with a #|# separator.
Example: {"label":"","value":"10000"}#|#{"label":"","value":"10001"}

See also

KPOption