Versions Compared

Key

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

...

$jirassimo.valueFromBundledField($!issue.fields.$issue.key, "customfield_99999", "NAME OF THE FIELD SUBFIELD IN BUNDLED FIELD")


Replace customfield_99999 to the actual custom field code that stores your Deviniti bundled fields and the second third argument should match the name of the field in that bundled field configuration.

...

$jirassimo.valueFromBundledField($issue.key, $!issue.fields.customfield_12345, "Test Lname")

...

The technique described above will work if your bundled field type is "Text field". If, however, you're using "Select field" or "Checkbox field", then you need to use one of the following statementsstatement to get all values of selected checkbox subfield:


Code Block
titleAccessing deviniti field with multiple values
linenumberstrue
#set ($a = $jirassimo.valueFromBundledFieldMultiple($!issue.fields.$issue.key, "customfield_10100", "Field name a"))
#foreach ($b in $a)
   $b
#end

or

Code Block
titleAccessing deviniti field single value
linenumberstrue
$jirassimo.valueFromBundledFieldSingle($!issue.fields.customfield_10101, "Field name b")