Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Project import errors from cloud to server

Lakshmi CH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 30, 2023

Hi Team,

We are trying to import few projects from cloud server. We have copied all cloud data to server temp instance, from there importing data from dev instance. We are seeing below error while importing.  We had only one next gen project on cloud, I deleted that project before exporting the data from cloud. I was referring this ticket  by Atlassian https://jira.atlassian.com/browse/JRACLOUD-74672. Can you please guide us what could be the issue ?

We are on jira server 8.22.6

 

project import.PNG

1 answer

0 votes
Lakshmi CH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 1, 2023

Working Solution for this kind of error is,

This matches the bug report JRACLOUD-74672 that mentioned with the following workaround :

Add updated / created attributes and dummy dates to rows that are missing these attributes:

From the extracted XML backup, make a copy entities.xml file, just to be safe.

Open entities.xml in the text editor

Locate the EntityProperty with missing updated and created attributes and insert those with dummy values for those attributes. For example:

<EntityProperty id="14011" entityName="customfield_10147" entityId="10003" propertyKey="NEXT_GEN_FIELD_CONFIGURATION" created="2019-07-03 16:03:34.446" updated="2019-07-03 16:03:35.000" value="{"options":[ ...

Zip modified entities.xml and activeobjects.xml files

Try reimporting the project
 


In this case the line to be modified would be the following as per provided information :

<EntityProperty id="117594"/>
 

So instead of adding dummy values, let's try the following workaround as this entry might not be in use by Jira :

Extract your XML Backup (data.zip)

Open your entities.xml file

Search for EntityProperty id="117594" and remove the whole line

Compress the files again and proceed with the import

Vish Reddy {Revyz}
Community Champion
February 1, 2023

Hi @Lakshmi CH 

I could be wrong, but I don't believe you can move from Cloud to Server, the other way is supported i.e. Server to Cloud. I would be interested to see if Cloud to Server actually works!

Suggest an answer

Log in or Sign up to answer