Versions Compared

Key

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

Setting a default value for one custom field without autocomplete is very simple. All you have to do is to check/ select the desired necessary option(s). You can see this For instance, like in the picture below: 

Image RemovedImage Added

 

Setting the values for the For the select custom fields with autocomplete is not that easy, as 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.

You can use following configuration for such fieldas 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 that you want to select.

After the value is set to default, the configuration is updated according to the renderer. You can see example below:

...

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