...
To modify the items you first need to retrieve the current list of items from the custom field.
Code Block | ||
---|---|---|
| ||
def ArrayList<ChecklistItem> existingChecklistValue = (ArrayList<ChecklistItem>) event.issue.getCustomFieldValue(checklistCustomField); |
...