I am using script runner to automate account creation and branch creation in Perforce.
I cant figure out how to return the current issue ID that kicked off the custom listener that I created.
I am currently using this but this is a hard coded solution and not what I want.
Issue issue = issueManager.getIssueObject("XXX-64" )
IS there a way to return current issue such as:
Issue issue = issueManager.getIssueObject( currentIssue ) ?
you can get current issue key like this
import com.atlassian.jira.issue.Issue; Issue issue = issue def id=issue.getId()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.