Hello,
i'm following chapter "Comments in Emails" from https://scriptrunner.adaptavist.com/latest/jira/builtin-scripts.html
However, neither of the variables (lastComment, mostRecentComment or latestPriorComment) does give me the desired most recent comment on the issue.
e.g. my email template looks like this:
Additional info regarding this issue has been requested from you with this comment:<p>
mrc:$mostRecentComment
lpc:$latestPriorComment
lc:$lastComment
<p>
Please see details and use the <font color="green"><b>Provide Info</font></b> button at <a href="${baseurl}/browse/${issue.key}">${baseurl}/browse/${issue.key}</a>.<br>
but the send email looks like this:
Additional info regarding this issue has been requested from you with this comment:
mrc: lpc: lc:
Please see details and use the Provide Info button at ...
Anybody an idea what might be wrong?
There is definitely a comment on the issue, but added "log" time ago, at least not in the last transition.