Skip to end of metadata
Go to start of metadata


  • Follow the below steps to add debugging to your scripts

Add these lines to your script

import org.apache.log4j.Logger
import org.apache.log4j.Level
def log = Logger.getLogger("com.acme.CreateSubtask")
log.debug "foo bar"

Optional - Turn on ScriptRunner debugging temporarily

If you wanted to switch your logging to a higher level (like DEBUG) then

we recommend you turn on DEBUG but only temporarily.

To do that, go to the Logging and Profiling section in your

Admin --> System screen of JIRA and click on the Configure link

Add the package

Type in the name of your package and the logging level, then click on the button



There is no content with the specified labels