I am trying to get the date when an attachment was uploaded or was replaced/changed with the Confluence Java API. I am doing it with Attachment.getLastModificationDate() but it gives me the wrong date, even though I am deleting and re uploading the attachment.
I am writing a Confluence plugin.
Thanks for the help.
When making the initial API call, are you checking the available versions then calling for the Modification date of most recent version?
Do you have an example of the call you are making?
yes I am checking each version that was uploaded, and the modification date is only from the initial upload of that version, not when it was deleted. I am trying to get the date when an attachment was deleted but there's no getDeletionDate only getModificationDate and that is not returning the deletion date.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.