Versions Compared

Key

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

...

  1. If the source field is a Single Field and the target is a non-text Single Field, then JSU will attempt to apply/convert the source field value when setting the target field value. In this constellation the configured separator and the concatenation modes have no relevance, since the target field can only contain a single value or null.

  2. If the source field is a Single Field and the target is a text Single Field, the then JSU will attempt to apply/convert the source field value as a string, before overwriting/concatenating the target text field value with the configured separator string. If the converted source value is null, then it will not be appended/prepended to any existing target field value. In this constellation the configured separator and the concatenation modes have significance in the concatenation of source and target values as well as the position of the concatenated values in the resulting target text field value.

  3. If the source field is a text Single Field and the target is a Collection Field, the source field will be split as a collection on the “,” (comma) delimiter, before attempting to apply/convert the source value/s to the target field value/s. The “delimiter” string is currently non-configurable in any of the JSU post-function configuration options.

Q & A

Q) Previously in “Create Linked Issue (JSU)” post-function, it was possible to append a value to an empty target field by selecting “*** empty ***” as the source field and defining “Text to Insert” as the separator. In the current version, when the target field value is empty, this no longer works.

A) “Set” as a “Create Linked Issue (JSU)” sub-function was introduced at a later time after “Copy to New”, so some users have been accustomed to setting an empty target value in this way. While this workaround did work, it would result in the target field value being concatenated with the defined separator whenever the post-function is executed. As a result the target field value would perpetually get longer. If it is the intention to set an “initial” target field value, then the recommended approach, would be to create a “Field Required” pre-condition and a simple “Set” sub-function or "Set Field Value (JSU)" with the desired initial target field value, if it is not already set. Using this approach, the target field value will not be perpetually concatenated.

Text Single Field Target Concatenation Table

...