Confluence Attachment Version Issue

I have a client who has sent out a communication containing a link to a specific attachment version. Something like: 


The problem that we have is that the attachment has now been updated, creating a new version and effectively breaking the link.

In dev, I have replicated this and tried to update the attachment data directly in the database, using the below:

set DATA = (select DATA from ATTACHMENTDATA where ATTACHMENTID = <new version id>)
where ATTACHMENTID = <v2 id>

This seems to corrupt the file.


Any help would be great as I've hit a brick wall with this.

  1. Can I edit a specific version of an attachment?
  2. Can I copy the data of one version to another?
  3. Can I redirect a specific url?


1 answer

0 vote
Stephen Sifers Community Champion Feb 13, 2015

Is there a requirement to link the very specific version of the attachment?

A work around would be to link to the latest greatest version of the file, such as:


Doing the above will always link you to the latest version of the file regardless if it has been updated, saved, or reverted.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

852 views 23 12
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you