It fixes the "uploadAttachments" method not found when a new issue includes an image from a document.
It is caused by the presence of a deprecated library in the DocMiner Server application
./weapps/docminer/WEB-INF/lib/jSFJira.jar
The current 2.5.8 version is for new installations only. If you are using a previous version, please, remove that library and re-start the DocMiner Server. That will be enough in order to resolve the problem.