I am using a post function on my workflow to send an email with the entire comment history within the email. I have been trying this using scriptrunner, but I am only able to get the last comment of the ticket. Does anyone have any ideas on how to solve this?