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?
Thanks,
Keval
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.