Showing posts with label debug. Show all posts
Showing posts with label debug. Show all posts

Tuesday, February 16, 2021

Atlassian thread dumps

 Install the Thready app to make sure that your threads have a meaningful name.


Then use the following scripts : 

https://bitbucket.org/atlassianlabs/atlassian-support/src/master/

Friday, June 7, 2019

JIRA Script Runner log debug

snippet of code to use the output logs in ScriptRunner Adaptavist groovy scripts  

ScriptRunner log.debug

tool

ScriptRunner for JIRA

version

8.1.1

use case
log.debug SR script


/***********/
import org.apache.log4j.Logger
import org.apache.log4j.Level
 
def log = Logger.getLogger("com.scriptname")
log.setLevel(Level.DEBUG)
/***********/
 
//and then, for example to print the variable trem
log.debug "trem=${trem}"


example :