Statistics Collection
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()
For how-to questions please ask on Atlassian Answers where there is a very active community. Adaptavist staff are also likely to respond there.
Ask a question about ScriptRunner for JIRA, for for Bitbucket Server, or for Confluence.