Versions Compared

Key

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

...

  1. Create Linked Issue (JSU) (all sub-functions) - separator string configurable

  2. Copy Value From Other Field (JSU) - separator string non-configurable as “,” (comma)

  3. Linked Transition (JSU) - separator string non-configurable as “,” (comma)

  4. Update Any Issue Field (JSU) - separator string non-configurable as “,” (comma)

Common applications

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 is as follows:

  • Set Value to Field on New: Summary to [PREFIX]

  • Copy to New: Summary to Summary , append with separator: with  -

Using this approach, the target field value will not be perpetually concatenated.

Concatenation Modes

All the above mentioned post-functions support the “overwrite”, “append” and with the exception of the “Update Any Issue Field (JSU)” post-function, the “prepend” concatenation modes. In addition the “Create Linked Issue (JSU)” post-function supports the definition of a separator string when concatenating multiple values to a target text field.

...

  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.

...

  1. .

Text Single Field Target Concatenation Table

...