Execution History

Understanding the effects of ScriptRunner scripts on your Jira instance is critical for successful platform management. Use Execution History to view up to two years of execution times and failure rates of ScriptRunner scripts in your instance, allowing a long-term view of script performance.

Using the extended history, observe if a script is getting slower over time, or if slow performance correlates with specific events (such as Jira or app upgrades). Execution History provides long-term analytics allowing you to develop scripts and change execution timings, to keep your instance performing at an optimal level. Viewable executions include scripted listeners, scheduled jobs, escalation services, post functions, and JQL functions.

To view the execution history of your ScriptRunner script:

  1. Navigate to the script location. For example, to view the execution history of a listener, navigate to Script Listeners.

  2. Click the text under the History column. An execution history graph for the script displays with Duration and Node (Data Center only) options.

    execution history link


    • Select the Duration options to change the scale of the x-axis.

    • Select Node options to switch between nodes (Data Center only).

      execution history
      When viewing execution data as a graph, hover over each bar to display additional script information, such as run time. Each graph segment represents a 30-minute block.
  3. Click the success (green checkmark) or failure (red X) symbol above the graph to open the Execution Information window. The Execution Information window shows in-depth data and logs for each script execution.

    execution history success

    Execution Information comprises three tabs:

    • Logs - Displays log information for the specific execution.

    • Payload - Data sent when the script executed.

    • Timing - Time taken for the script to execute, including Elapsed and CPU Time.

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.