import to cloud failed. message:

Cause of import to cloud failed. message:

One can get this error of import to cloud failed. message: while working on JIRA Server. This error arrives while doing Cloud Migration on JIRA Server. The error looks like as shown below: 

 

 

The problem one can do is while backing up the JIRA Server zip file. The steps for the following are:

  • First, navigate to System.
  • Then click on Import and Export
  • At last click on Backup System

Now one needs to import JIRA Cloud using the following steps:

  • First, navigate to System.
  • Then click on Import and Export
  • At last click on Restore System

 

 

Solution

One solution for the above problem is by generating the ticket for the same. The import can also fail due to this error shown below:

 

eventtype="micros_jira*" env="prod*" "ext.jira.tenant.id"="66c2183b-e7b4-48df-a29c-9945b0ea5b05" NOT (message="*provisioning*" OR message="*product*") logger=com.atlassian.jira.bc.dataimport.CloudImportTaskRunner* OR logger=com.atlassian.jira.bc.dataimport* OR logger=com.atlassian.jira.internal.rest.ProvisioningResource* (level="WARN" OR level="ERROR") message="Exception importing entity: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:ClusteredJob][cronExpression,0 0 7/12 * * ?][jobId,com.atlassian.jira.service.JiraService:10001][jobRunnerKey,com.atlassian.jira.service.DefaultServiceManager][id,10000][schedType,C][version,428][parameters,[B@21a97660][nextRun,1507680000000] (SQL Exception while executing the following:INSERT INTO public.clusteredjob (ID, JOB_ID, JOB_RUNNER_KEY, SCHED_TYPE, INTERVAL_MILLIS, FIRST_RUN, CRON_EXPRESSION, TIME_ZONE, NEXT_RUN, VERSION, PARAMETERS) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: duplicate key value violates unique constraint \"pk_clusteredjob\"
Detail: Key (id)=(10000) already exists.))"

 

This error can be found while checking the logs of your computer. 

To solve this issue one way is to unzip your JIRA Backup and edit the file named entities.xml

 

<ClusteredJob id="10000"

 

After making the desired changes save the file and rezip all the files again. Now the user will be able to import the cloud and hence the problem is no more. 

 

 

Also Read: What is IndexError and how to solve it?

 

Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *