Hi All,
I have this piece of code adding auto comment in the ticket during the transition
I want to add reporters name in the comment.
Can somebody help?
import com.atlassian.jira.ComponentManager
import com.atlassian.jira.issue.comments.CommentManager
ComponentManager componentManager = ComponentManager.getInstance()
CommentManager commentManager = componentManager.getCommentManager()
commentManager.create(issue, transientVars.context.caller, "This ticket is now closed, please check the root cause field for futher information", false)