Hello!
I recently updated the project key in Jira for one of our projects. The project key was changed from TEST
to TESTSERVICE
. However, despite this change, attachments are still being stored on the server under the old project key path, which is TEST
.
Here are the details:
<JIRA_HOME>/application-data/jira/data/attachments/TEST/
TEST
rather than the new key TESTSERVICE
.I have verified that the project key was successfully updated in Jira, but the physical storage path for attachments has not been updated accordingly.
Could you please provide guidance on how to resolve this issue? Specifically, I need assistance with ensuring that attachments are stored under the new project key path or updating the existing attachment paths to reflect the new project key.
Thank you for your assistance.
Jira DataCenter 8.20.10
This is an expected behavior.
All attachments will be accessible after the project key change. Please note, however, that the directory that they are stored in (under the <Jira Home>
\data\attachments
directory) will retain the old project key. For example, if you change a project's key from TEST to DEMO, the attachments will be stored under <Jira Home>
\data\attachments
\TEST
.
Please refer to Doc https://confluence.atlassian.com/adminjiraserver/editing-a-project-key-938847080.html
Best regards
Sam
Hi @Samuel Gatica _ServiceRocket_ !
Thank you for the quick response. I saw this document: https://confluence.atlassian.com/adminjiraserver/editing-a-project-key-938847080.html
Then, another question: how can I obtain the absolute path to a specific attachment for a specific issue through Groovy if the interfaces
are deprecated?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check this similar questions:
Hope this helps
Best regards
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.