Versions Compared

Key

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

To retrieve the value of a date multiple values from a cascading custom field (for example)
simply create a date string array variable and
set the value to the custom field.

To set the value values of a date cascading custom field simply set the custom field
to equal a date
string an array of strings or a date variable variablestring array variable. The first position of the array represents the parent (primary) value while the second position of the array represents the child (secondary) value.

Getting Values

Insert excerpt
PSJ:Cascading Fields - Getting ValuesPSJ:
Cascading Fields - Getting Values
nopaneltrue

Setting Values

Insert excerpt
PSJ:Cascading Fields - Setting ValuesPSJ:
Cascading Fields - Setting Values
nopaneltrue

Supported Field Types

  • Date Picker

  • Date Time Picker Select List (cascading)

NOTE: getting the value using the customfield id is not the best practice when
writing SIL scripts. See the Working with Custom Fields example for more
information on the best practices.

NOTE: These scripts assumes that they are running in the context of an issue. Like in a
workflow script or listener for example. If you would like to test these scripts
from the SIL Manager, add an issue key to test with under the Run Configuration
setting (Run > Run Configuration > Context).