I want to create plug-in for attach files to the issue, but to load them to the specific place (local folder, or FTP-server for example). Standard path (confluence-attachments-plugin) are not suitable.
How is better to implement it?
You'll need to hack the core code if you want to retain the same behaviour inside the application (by the way, you've mentioned Confluence and then labelled it JIRA - which one are you trying to do this in?)
If you're happy to turn off the "attachments" function in the system, then you can do this as an add-on. The add-on will need to provide the connection to your storage, and any interfaces you want to expose in the application (e.g. displaying file contents, links to them, using them in macros/text boxes etc, and interfaces for upload/delete)
If you want to carry on using the current interfaces in the target system, then you'll need to hack the core code to make it able to use your storage. If you're going to go that way, the most simple approach really is to touch just the storage and continue to let JIRA/Confluence handle all the upload/download/naming etc as though it were using the built-in storage.
However, given that I've started on the technical answer, and got to a point where you need to make a decision on the route, I've also got to ask why. Why are you trying to do this? What's wrong with the standard storage that makes you think you have to do this? There's probably a far cheaper, faster, and better way to solve the problem than embarking on a major development project (or a good chance that someone has already written something to solve it if it really is that big an issue)
Thank you, Nic Brough, for your answer!
Standard storage is good, but I want in addition to add a separate storage for certain files.
Approximately, I think about pop up window, where I can choose file, for attach, and upload this file to my folder. But I don't know, how I can do this...
I'm sorry, "sort files" where? In the UI, it would be a minor and useless change in behaviour, and certainly wouldn't need you to write a whole new storage system, and I can't think of anything else that you might mean by "sort". "Doing other things with files" tells us nothing
Could you please explain what you are actually trying to achieve? What use would this be? What is the use-case?
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs