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?
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!
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