It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Rename upload before they appear as attachments

Tuelle Jun 23, 2017

Hi,

I want to add a timestamp to the filename of uploaded attachments so that each new upload is a new attachment and not a new version if the filename already exists. I managed to implement a servlet filter that performs the required action for drag and drop upload, but I don't know how to handle uploads through the upload panel?

Is it possible to change the name in the multipart request during upload?

Or can I hook in some handler that renames every new upload before it apears as an attachment? 

Or can I write a custom upload handle?

0 answers

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

866 views 0 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you