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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

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

118 views 1 2
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