简体   繁体   English

如何在Jira脚本侦听器中获取最新评论(发送自定义电子邮件)

[英]How to get the last comment in Jira script listeners (Send custom email)

we have been using "Script Runner" plug-in to send custom emails. 我们一直在使用“ Script Runner”插件发送自定义电子邮件。 The below code works fine transition post function. 下面的代码工作良好的过渡后功能。

 <% if (lastComment)    
   out << lastComment
 %> 

Whereas, the custom email in script listeners below line instead of the actual last comment 而脚本侦听器中的自定义电子邮件则位于行下方,而不是实际的最后评论

com.atlassian.jira.issue.comments.CommentImpl@4fexxxxx

Can you suggest a solution for this please. 您能为此提出一个解决方案吗?

如果您查看该类的文档 ,则可能要获取lastComment.body

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM