post_functions
This is an old revision of the document!
Post Functions
Post functions allow you to perform specific actions upon the transition. Following are some useful examples.
Add Comment on Transition
import com.atlassian.jira.component.ComponentAccessor def commentManager = ComponentAccessor.getCommentManager() def currentUser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser() commentManager.create( issue, currentUser, "This is my comment", false)
post_functions.1496329982.txt.gz · Last modified: (external edit)
