Hi there,
Anyone also noticed that the functionality to include attachments in the Scriptrunner for Jira post function Custom email doesn't work anymore after an upgrade?
We upgraded from 5.7.1 to 6.5.0-P5 when we noticed it.
Because this a really important feature for us, and yes we should have checked it before we did the upgrade but unfortunately that didn't happen, so we tried to reinstall the previous version 5.7.1 but afterwards the system Index keeps crashing.
So we installed the 6.5.0 p5 version again and had been downgrading version by version with the idea to eventually reach a version where this functionality (include attachement) still works... unfortunately this is the case for any version in the 6.X range. A downgrade to a version in the 5.9 range gives the Index failure.
We are now restoring a into a new instance and are planning to upgrade version by version from 5.7.1. At least we know then if the issue is related to the add-on or the something else.
If anyone has a quicker solution, then it would be nice to shared it here?
Thanks!
Regards
Rik
--------------
Edit
After futher investigation we came to the conclusion that the issue wasn't related to the Scriptrunner for JIRA add-on at all but to the JMWE add-on.
We suspect that the new version of the JMWE add-on removes the flag 'new' from any new uploaded attachment during the transition, which results in not sending the attachment with the Scriptrunner for JIRA Custom email post function during the same transition. After replacing the JMWE post function with an equivalent Scriptrunner post function all works fine again.
All credits for my colleague Johan!