I'm using Jira Data Center and am trying to setup a Mail Handler with ScriptRunner. My specific need is to allow the Mail Handler to process HTML files.
The problem I'm having is that when I click Run Now on the second page of the Mail Handler setup (same page where you enter the script), I get a message "Server Error An error occurred. Please review server logs".
I've setup the Mail Handler with the following settings. I had more in the script but deleted most of it to try and get pas the Server Error message, but even one import line causes the error.:
I have an email.txt file in the /data/shira/sharedhome/import/mail folder.
(First Window)
Name: Test
Server: Local Files
Delay: 10
Handler: ScriptRunner Mail Handler
Folder Name: Blank
(Second Window)
Catch Email: <email address of the sender>
Forward Email: <my email address>
Strip Quotes: <unchecked>
Create Users: <unchecked>
Script:
Could you please provide a screenshot of the error you are encountering?
I am asking for this to try and provide you with a better solution.
Thank you and Kind regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.