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:

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()

Have questions? Visit the Atlassian Community to connect, share, and learn with other Atlassian users and experts, including Adaptavist staff.

Ask a question about ScriptRunner for JIRA, Bitbucket Server, or Confluence.

Want to learn more? Check out courses on Adaptavist Learn, an online platform to onboard and train new users for Atlassian solutions.