Hi Team,
Request you to please assist in creating a scripted field with details of script where the result in the scripted field needs to be the concatenation of around 27 existing checkbox fields.
Which scripting addon are you using?
Script Runner
The basic code you need is issue.getCustomFieldValue(componentManager.getCustomFieldManager().getCustomFieldObjectByName("MySelect")) For a check-box, that will return an array of possible values, which you can then iterate through to concatenate, then you'll need to repeat that for each of your 27 checkbox fields.
Is this the default? I assume componentManager is the field name here. What do the other 2 do? getCustomFieldManager().getCustomFieldObjectByName("MySelect")
It looks like you're new here. Sign in or register to get started.