Jelly script file attachment error: Unable to make temporary copy of file: java.io.PrintWriter@7ad91818
I have tried:
1. back-slash and forward slash in the path
2. checked the file permissions
3. changed the file locations and finally changed the computer.
I get the same error everywhere.
I know that there is another question: https://answers.atlassian.com/questions/39717/issue-in-attachment-creation-in-jira-using-jelly but that is yet unanswered.
I can create a defect manually and attach the same files in the manually created defects, but it fails in Jelly script.
Can anyone shed some light on this issue?