a guest Dec 9th, 2019 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- import com.atlassian.jira.component.ComponentAccessor
- import org.apache.log4j.Level
- import org.apache.log4j.Logger
- log = Logger.getLogger("com.onresolve.confluence.groovy")
- def issue = "QQ-204"
- def workflow = ComponentAccessor.getWorkflowManager().getWorkflow(issue).getDisplayName()
- 2019-12-09 17:00:11,540 ERROR [common.UserScriptEndpoint]: Script console script failed:
- java.lang.NullPointerException: Cannot invoke method getDisplayName() on null object
- at Script485.run(Script485.groovy:9)
RAW Paste Data