%{issue.lastComment}
issue.comments!= [] ? issue.comments[issue.comments.length-1].body.plainText:null
Comments are stored in lists. Documentation on how to work with lists can be found here.
You can access the whole comment by issue.comments[0]
which returns an object.