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 vote

>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
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
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

346 views 3 11
Read article

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