Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How do I determine the amount of time a custom script takes?

Adithya S I'm New Here Aug 23, 2022

Hey yall!

We are trying to optimise our Jira performance and I'm trying to find out which of our many custom scripts are contributing to the slowness. I was wondering if there was any way I could determine the amount of time taken by at a script to run to completion.

I've tried logs and chrome dev tools both of which didn't help much.



1 answer

1 accepted

1 vote
Answer accepted
WW Rising Star Aug 23, 2022

Granted, these are manual methods and may take a little while if you have a lot of scripts, but if you have some suspects, I'd start there.


If you have script that can be run in the Console, you can see the amount of time a script takes to run under the Timing tab:


Jobs, Listeners, Workflows, etc.

If your script is in a Job, Listener, Field, JQL Function, Workflow, and most of the places you can put a script, go to one of the those tabs in ScriptRunner.


You can see the Timing information by clicking History:


Then under Timing (you may need to scroll down):



You can see Performance by clicking on the chart icon under Performance:


A pop-up screen with performance charts will appear. You can change the Duration and Nodes (for Data Center).


If this was helpful, please accept the answer.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events