How to upload a file in SDK Plugin

Manjunath Rajappa April 21, 2020

Hi All,

We are doing an SDK Development plugin for Jira server.

We are trying to develop a plugin in which we have a requirement to upload a file to the system and read data from that file. But we are not finding a solution that has a file upload option in our plugin.

Things we have tried:

  • org.apache.commons.fileupload gives us the build error
  • javax.servlet.http.HttpServletRequestWrapper and webwork.multipart.MultiPartRequestWrapper is mainly used for attachment upload to issues. Is there a way to use these things to have a file upload option specifically for that plugin.

Kindly help us with this request which classes or what package should we use to bring this feature into our plugin.

Thanks in advance.

0 answers

Suggest an answer

Log in or Sign up to answer