PageRenderTime 37ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/src/test/resources/examples/CreateCommentOnTransition.groovy

https://bitbucket.org/sorin/jira-plugin-intellij
Groovy | 9 lines | 6 code | 3 blank | 0 comment | 0 complexity | 53567b3cbe48b21d59c39b4381e7c514 MD5 | raw file
  1. package examples
  2. import com.atlassian.jira.ComponentManager
  3. import com.atlassian.jira.issue.comments.CommentManager
  4. ComponentManager componentManager = ComponentManager.getInstance()
  5. CommentManager commentManager = componentManager.getCommentManager()
  6. commentManager.create(issue, transientVars.context.caller, "Comment automatically generated...", false)