I have two projects Project A and Project B. When i write comment in project A start transaction from Actiwe to Waiting for customer. And i need to copy this comment to project B while this transaction. Use Scrip Runner post function: "Adds a comment to linked issues when this issue is transitioned" and code:
Last Comment:
<% out << transientVars.comment
%>
Its return null.
can anybody help me?
Hello,
I tried like this
<% out << transientVars.get("comment")%>
and it worked for me
You can try like this
<% out << com.atlassian.jira.component.ComponentAccessor.commentManager.getComments(issue).last().body %>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
does this code accommodate service desks public vs internal comment?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.