Confluence renames the attachments to something it can handle because you can't have two files with the same name in the directory and it needs to version the copies. It also dodges previous problems with unusual characters in file names, non-standard character sets and so on.
I think the question I'd need to ask is "why does it matter to you?" The files handed over in the UI and by REST are named fine, and you shouldn't care how Confluence handles them internally.
Oh, this downgrade again, I thought you'd finished that ages ago. There is no easy route to do this. You're going to need to read each issue in Jira or Page in confluence for their attachments, getting the version you want (all of them?) then extracting the physical file name.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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