To collect text from all messages for the current task use the following task processing script:
String s = ""; for(Iterator it = task.getMessages().iterator(); it.hasNext();) { String desc = it.next().getDescription(); if (desc != null) { s += desc + " | "; } } return s;
Associated custom field properties:
Property |
Value |
Type |
String |