It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Export of issues with many scripted fields shoots up CPU load

Hello everyone,

We have many scripted fields (~20) which are associated to a particular issuetype configured using the ScriptRunner plugin. Now, while doing a CSV export of such issues (~400) through JIRA the CPU load just shoots up dramatically (from .62 to 6.5). 

Has anyone else faced this? Also, is there something that can be done to fix this?



1 answer

0 votes

This is because ScriptRunner recalculates all field values during the export to have the most up-to-date in those. In your case, it triggers 20*400=8000 script executions, imposing quite some load on your CPU.

If I were you, I'd check if it is possible to use the "last known value" (aka the value in the cache) and save the recalculations. It may or may not be possible in ScriptRunner, contact the authors!

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you