Statistics Collection
4.3.1
ScriptRunner gathers some statistical, non-identifying data.
Simply, which parts of my plugins are most and least used, to guide me on where I should spend my time, and what cruft I should remove.
Currently what is gathered is the number of times run for each:
-
built-in script
-
script JQL function
-
script field execution
You can disable metrics gathering by starting JIRA with this property: -Dscriptrunner.disable.statistics=true
You can see what will be sent by running the following script in the admin console of any application with ScriptRunner:
import com.onresolve.scriptrunner.analytics.FocalPoint
import groovy.xml.MarkupBuilder
def writer = new StringWriter()
def builder = new MarkupBuilder(writer)
def counters = FocalPoint.counters
if (counters.isEmpty()) {
return "No data has been collected"
}
builder.table {
counters.each {k, v ->
tr {
td (k)
td (v)
}
}
}
writer.toString()