Trello import barfs

Any remedy from anyone for below?

 

Attempted to do trello import.

Import imports projects and swimlanes however no issues.

I get below barf (see trace below):

2015-09-16 09:48:03,134 INFO - Import started by admin using com.atlassian.jira.plugins.importer.trello.TrelloImporterDataBean
2015-09-16 09:48:11,453 INFO - ------------------------------
2015-09-16 09:48:11,453 INFO - Importing: Users
2015-09-16 09:48:11,454 INFO - ------------------------------
2015-09-16 09:48:11,454 INFO - Only new items will be imported
2015-09-16 09:48:18,280 INFO - 19 users associated with import. 0 new users were created and imported as active.
2015-09-16 09:48:18,280 INFO - ------------------------------
2015-09-16 09:48:18,280 INFO - Finished Importing : Users
2015-09-16 09:48:18,280 INFO - ------------------------------
2015-09-16 09:48:18,280 INFO - 0 users successfully created.
2015-09-16 09:48:18,280 INFO - Retrieving projects...
2015-09-16 09:48:22,218 INFO - Created Project: ExternalProject

{id='53396dc3070842a0450423b5', key='FRON', externalName='Frontend (A/N 1000)', name='Frontend (A/N 1000)'}

successfully
2015-09-16 09:48:22,218 INFO - ------------------------------
2015-09-16 09:48:22,218 INFO - Importing: Versions
2015-09-16 09:48:22,219 INFO - ------------------------------
2015-09-16 09:48:22,219 INFO - Only new items will be imported
2015-09-16 09:48:22,219 INFO - ------------------------------
2015-09-16 09:48:22,219 INFO - Finished Importing : Versions
2015-09-16 09:48:22,219 INFO - ------------------------------
2015-09-16 09:48:22,219 INFO - ------------------------------
2015-09-16 09:48:22,219 INFO - Importing: Components
2015-09-16 09:48:22,219 INFO - ------------------------------
2015-09-16 09:48:22,219 INFO - Only new items will be imported
2015-09-16 09:48:22,219 INFO - ------------------------------
2015-09-16 09:48:22,219 INFO - Finished Importing : Components
2015-09-16 09:48:22,219 INFO - ------------------------------
2015-09-16 09:48:26,166 INFO - Created Project: ExternalProject

{id='55de04a6a65007cfff7eca11', key='FB', externalName='Frontend Backlog', name='Frontend Backlog'}

successfully
2015-09-16 09:48:26,167 INFO - ------------------------------
2015-09-16 09:48:26,167 INFO - Importing: Versions
2015-09-16 09:48:26,167 INFO - ------------------------------
2015-09-16 09:48:26,167 INFO - Only new items will be imported
2015-09-16 09:48:26,167 INFO - ------------------------------
2015-09-16 09:48:26,167 INFO - Finished Importing : Versions
2015-09-16 09:48:26,167 INFO - ------------------------------
2015-09-16 09:48:26,167 INFO - ------------------------------
2015-09-16 09:48:26,168 INFO - Importing: Components
2015-09-16 09:48:26,168 INFO - ------------------------------
2015-09-16 09:48:26,168 INFO - Only new items will be imported
2015-09-16 09:48:26,168 INFO - ------------------------------
2015-09-16 09:48:26,168 INFO - Finished Importing : Components
2015-09-16 09:48:26,168 INFO - ------------------------------
2015-09-16 09:48:26,168 INFO - Retrieving custom fields...
2015-09-16 09:48:26,168 INFO - ------------------------------
2015-09-16 09:48:26,168 INFO - Importing: Issues
2015-09-16 09:48:26,168 INFO - ------------------------------
2015-09-16 09:48:26,169 INFO - Only new items will be imported
2015-09-16 09:48:58,639 INFO - ------------------------------
2015-09-16 09:48:58,640 INFO - Finished Importing : Issues
2015-09-16 09:48:58,640 INFO - ------------------------------
2015-09-16 09:48:58,640 ERROR - Unexpected failure occurred. Importer will stop immediately. Data may be in an unstable state
com.atlassian.jira.plugins.importer.trello.fetch.TrelloParseException: Error "<!DOCTYPE html>
<html lang="en">
<head>
<!-- meta -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="language" content="en-US">
<meta name="viewport" content="maximum-scale=1.0,width=device-width,initial-scale=1.0">
<!-- title -->
<title>Trello Server Error</title>
<!-- css -->
<style type="text/css">

  • { margin: 0; padding: 0; }

    body

    { background: #F0F0F0; font: 14px/18px Arial, "Helvetica Neue", sans-serif; text-align: center; }

    #surface

    { margin: 40px auto; position: relative; width: 480px; }

    h1

    { color: #222; font-size: 22px; font-weight: bold; line-height: 26px; margin-bottom: 10px; }

    p

    { margin-bottom: 10px; }

@media all and (max-width: 480px) {
#surface

{ margin: 40px 10px; width: 100%; }

}

</style>
</head>

<body>
<div id="surface">

<div style="text-align:center; padding:30px"><img src="https://d2k1ftgv7pobq7.cloudfront.net/images/maintenance/SleepyTaco.png" alt="Sleepy Taco" title="Sleepy Taco" /></div>

<h1>Oh no! 408!</h1>

<p>
Taco says “Request Timeout”, but what does he know? He's just a dog.
</p>

</div>
<script type="text/javascript">
//<![CDATA[
(function()

{ var _analytics_scr = document.createElement('script'); _analytics_scr.type = 'text/javascript'; _analytics_scr.async = true; _analytics_scr.src = '/_Incapsula_Resource?SWJIYLWA=2977d8d74f63d7f8fedbea018b7a1d05&ns=3'; var _analytics_elem = document.getElementsByTagName('script')[0]; _analytics_elem.parentNode.insertBefore(_analytics_scr, _analytics_elem); }

)();
// ]]>
</script></body>
</html>" returned when getting cards for board with ID

{1}

.
at com.atlassian.jira.plugins.importer.trello.fetch.TrelloParser.getCards(TrelloParser.java:86)
at com.atlassian.jira.plugins.importer.trello.TrelloImporterClient.getTotalIssues(TrelloImporterClient.java:102)
at com.atlassian.jira.plugins.importer.trello.TrelloImporterDataBean.getTotalIssues(TrelloImporterDataBean.java:105)
at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:395)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at com.sun.proxy.$Proxy1573.doImport(Unknown Source)
at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:26)
at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterCallable.call(ImporterCallable.java:15)
at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:538)
at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:501)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:254)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
at com.google.gson.Gson.fromJson(Gson.java:801)
at com.google.gson.Gson.fromJson(Gson.java:756)
at com.google.gson.Gson.fromJson(Gson.java:705)
at com.atlassian.jira.plugins.importer.trello.fetch.TrelloParser.getCards(TrelloParser.java:83)
... 33 more
Caused by: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
at com.google.gson.stream.JsonReader.beginArray(JsonReader.java:328)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:79)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)
at com.google.gson.Gson.fromJson(Gson.java:790)
... 36 more
2015-09-16 09:48:58,645 INFO - No issues need to be reindexed.

2 answers

1 accepted

1 vote
Answer accepted

The message you are seeing indicates Trello returned a Timeout response during the import, probably because you were importing a very large board. Unfortunately, there is not much you can do in the JIRA side.

I would recommend you to try the the CSV import in JIRA, or contact Trello Support to see if they can help with the timeout message.

Cheers!
Teilor

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Jira

Updates to jira.atlassian.com give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

643 views 1 15
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