You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

If you're using Deviniti extension for Jira Service Desk - bundled fields, then you can access their value using the following statement:


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


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

For example, if we have a configuration of bundled field like the one below:


And knowing that it is stored in customfield_12345, we can retrieve the value stored in "Test Lname" by using the statement

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


Note, that both, customfield code and name of the field are CaSe SENsiTive. 


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 statements:


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


or


Accessing deviniti field single value
$jirassimo.valueFromBundledFieldSingle($!issue.fields.customfield_10101, "Field name b")