Versions Compared

Key

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


Info
titleAvailability

This routine is available starting with SIL Engine™ 4.6.3.

Syntax

admUpdateCustomFieldOptions(fieldName, pathToFile, charset, actionForOldFieldValues, actionForExistingFieldValues, projectKeys, issueTypes, useDefaultScheme, reorder, updateExistingOptionsValues, applyActionsOnParentOptions)

...

Returns 'true' if the options were successfully updated and 'false' otherwise. If returned 'false' check the log for a detailed reason on why it failed.

Note

The new options in the input file that don't already exist in the custom field's options will automatically be added to the custom field's options.

...



Examples


Note
iconfalse
titleupdatedoptions.txt

For all the following examples, the 'updatedoptions.txt' file will be used an an input file. These are it's contents:

Code Block
Parent1
 Child1
 Child2
Parent2
 Child3



Example 1

Code Block
admAddCustomFieldOption("New Option", "Select List");

...