Our team wants to send an email with a structure's report. We need to use "Export to Excel" native functionality (see screenshot 1) as we need to retrieve data from auto-calculated columns (custom)
We are planning to send it via Scriptrunner job but we are not able to find a way to select this functionality (we could do it with BetterExcel templates but not with the native function)
PS: We already have tested this groovy but we couldn't apply it to our case. It gives an error on line 12 (see screenshot 2)
Thanks in advance!

