Hello all!
I'm using script runner to send out custom emails in post functions.
I store this script on the server file system under jira.home.
When I create this post function, there is no problem to choose the file from the file system and the post function works as desired.
Hoooowever, when I want to edit the post function, there is no reference to the file or where it's located on the file system.
Here is a screenshot when I try to edit the post function.
It makes no difference whether I choose SCRIPT or FILE I always get the Inline script.

Hopefully someone has figured this out!
P.S, The Jira version is 8.2.5