Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to prevent version number being added to the end of attachments

Christopher February 27, 2020

I have an issue where we have a standardized file naming convention that is important to our workflow. And when we upload a file to a Jira ticket, and the upload gets canceled (usually because of a pop-up or something), the file isn't attached to the ticket, but a subsequent upload of the same file results in it being saved with a "-2" appended to the end of the name of the file which breaks our naming scheme.

 

Specifically, I encounter this when dragging/dropping an attachment to go with a comment I'm writing. A pop-up comes up asking if I want to write a message to go with the attachment (I don't), but I don't want to lose the comment I was writing, so I click cancel so I can submit the comment first. Now when I attempt to attach the file it has a "-2" on the end.

Is there a configuration item I can change to stop this behavior and just overwrite the file with the same name?

I'm using self-hosted Jira 8. Attachments are stored on the filesystem, and on the filesystem they are named just as a string of five numbers such as "53189", so I know this isn't a problem imposed by the underlying filesystem. 

This is an issue that started occurring after our last upgrade and may be related to this: https://jira.atlassian.com/browse/JRASERVER-2169 but I'm having trouble making heads or tails of it.

Any help would be appreciated. Thank you.

0 answers

Suggest an answer

Log in or Sign up to answer