commonfields: id: commentsToContext version: -1 name: commentsToContext script: '' type: javascript tags: - Utility comment: "Takes the comments of a given entry ID and stores them in the incident context,\ \ under a provided context key. \nFor accessing the last executed task's comments,\ \ provide ${lastCompletedTaskEntries.[0]} as the value for the entryId input parameter." enabled: true args: - name: entryId required: true default: true description: Entry ID to get the comments from - name: contextKey required: true description: Context key to store comments into - name: listSeperator description: If value is list - provide list seperator scripttarget: 0 fromversion: 5.0.0