Project key rename

If a project key is renamed, the attachments are still retained in a folder with the old key. When we import the project into a different JIRA instance using Project Import, does it expect the attachments in a folder named after the new key or the old?

1 answer

1 accepted

Looking at this documentation it seems that after import the attachments will be searched in a folder named by the new key

https://confluence.atlassian.com/display/JIRA/Editing+a+Project+Key#EditingaProjectKey-Notesforchangemanagement

After introducing renamable projetc keys JIRA always puts the attachment directory named by the original project key, but when you import since the project key history is lost then the attachments will be looked up in a directory named again by the original key which should in that case be the latest project key.

For reference see com.atlassian.jira.issue.attachment.DefaultAttachmentStore

After introducing renamable projetc keys JIRA always puts the attachment directory named by the original project key, but when you import, since the project key history is lost then the attachments will be looked up in a directory named again by the original key which should in that case be the latest(new) project key.

For reference see com.atlassian.jira.issue.attachment.DefaultAttachmentStore

If you make a simple test you'll see confirmation of that. The origina project key is used only during projetc import to import attachments, and after the import finished all the attachments are put in the JIRA attachments directory unser the new project key.

Just performed a test. The attachments need to be placed in the import/attachments folder named with the old project key from the source. When imported, it will be placed in a folder with the new project key.

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...

178 views 1 10
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