Attachments disappear

Hi Everyone,

I just imported a project in JIRA v6.3.11. The attachment folder did not moved from Import/Attachments folder to the Data/Attachments folder.

I moved the folder manually to data/attachments but the attachments still doesn't show up in the issue view screens. What can we do now? A project reindex helps? Or a JIRA restart?

Thanks,

Rumi

2 answers

Hi @Rumceisz

please check path to your attachments folder
JIRA administration -> System -> Advanced -> Attachments -> Attachment Path
and check Allow Attachments on?

Hi Viktor,

the attachments path is correct and allow is ON.

0 votes

>I moved the folder manually to data/attachments but the attachments still doesn't show up in the issue view screens.

JIRA has no idea what you've done there because you did not do it via JIRA's UI.  If you're importing stuff, you need to do it via the import functions, it it's not going to work.  Forget about "it didn't move from A to B", what you need to get working is the actual JIRA import.

Hi Nic,

is there a way to avoid re-import of the project? It has 20000+ issues.

Thanks,

Rumi

For attachments, I'd script something that can read where the attachments should be and upload them.  Possibly over the REST interface, or maybe in a script-runner console script.

Another more risky option would be to copy the files into the right places and then write a script-runner script that updates the attachments data, but that is likely to be a bit of a pain, and possibly no faster if you just copy the files.

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

193 views 5 7
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