Error 400 using Zephyr Test Case Importer

Hello. This is my first post on the community, so please bear with me. This is my first time working with Jira and the importer tool, and is also a new installation of the product here at this shop, so the adminsitrator of it is not an expert. I only have user profile.

So far using google and the docs around Atlasian Site have helped me sort most troubles i've found up to this point. 

However, now I'm having problems using the importer, to import test cases. Specifically when using two fields. 

On my excel file, there are two columns, R and T, that when I use them to upload through the importer, gives me the following error:

2017-08-29 11:56:45,999 DEBUG [ForkJoinPool-1-worker-13] ImportSwingApp$$anon$21.applyOrElse(214) | Tue Aug 29 11:56:45 CEST 2017 file:///C:/Users/BK70874/Documents/003 - Tech info/Jira/Excels de carga/CAP TEST CASEs/PruebasCargaJira.xlsx normalization success..! 

2017-08-29 11:56:45,999 DEBUG [ForkJoinPool-1-worker-13] ImportSwingApp$$anon$21.applyOrElse(214) | Tue Aug 29 11:56:45 CEST 2017 file:///C:/Users/BK70874/Documents/003 - Tech info/Jira/Excels de carga/CAP TEST CASEs/PruebasCargaJira.xlsx normalization success..!

2017-08-29 11:56:46,337 DEBUG [ForkJoinPool-1-worker-9] ImportSwingApp$$anon$21.applyOrElse(214) | Tue Aug 29 11:56:46 CEST 2017 Unable to add testcase ending at rowNumber - 2. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"customfield_10400":"El valor de la operación debe ser una cadena de texto"}}

2017-08-29 11:56:46,337 DEBUG [ForkJoinPool-1-worker-9] ImportSwingApp$$anon$21.applyOrElse(214) | Tue Aug 29 11:56:46 CEST 2017 Unable to add testcase ending at rowNumber - 2. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"customfield_10400":"El valor de la operación debe ser una cadena de texto"}}

2017-08-29 11:56:46,338 ERROR [pool-1-thread-1] TestcaseImportManagerImpl.saveTestCase(981) |
dispatch.classic.StatusCode: Unexpected response code: 400
{"errorMessages":[],"errors":{"customfield_10400":"El valor de la operación debe ser una cadena de texto"}}
at dispatch.classic.HttpExecutor$$anonfun$1.apply(executor.scala:53)
at dispatch.classic.HttpExecutor$$anonfun$1.apply(executor.scala:50)
at dispatch.classic.HttpExecutor$$anonfun$x$2.apply(executor.scala:41)
at dispatch.classic.HttpExecutor$$anonfun$x$2.apply(executor.scala:36)
at dispatch.classic.BlockingHttp$$anonfun$execute$1.apply(Http.scala:54)
at dispatch.classic.Http.pack(Http.scala:25)
at dispatch.classic.BlockingHttp$class.execute(Http.scala:53)
at dispatch.classic.Http.execute(Http.scala:21)
at dispatch.classic.HttpExecutor$class.x(executor.scala:36)
at dispatch.classic.Http.x(Http.scala:21)
at dispatch.classic.HttpExecutor$class.when(executor.scala:50)
at dispatch.classic.Http.when(Http.scala:21)
at dispatch.classic.HttpExecutor$class.apply(executor.scala:60)
at dispatch.classic.Http.apply(Http.scala:21)
at com.thed.zfj.rest.JiraService$.saveTestcase(JIRAServiceImpl.scala:206)
at com.thed.zfj.rest.JiraService$.saveTestcase(JIRAServiceImpl.scala:173)
at com.thed.zfj.rest.JiraService.saveTestcase(JIRAServiceImpl.scala)
at com.thed.service.impl.zie.TestcaseImportManagerImpl.saveTestCase(TestcaseImportManagerImpl.java:972)
at com.thed.service.impl.zie.TestcaseImportManagerImpl.importFileByEmptyRow(TestcaseImportManagerImpl.java:819)
at com.thed.service.impl.zie.AbstractImportManager.importSingleFiles(AbstractImportManager.java:157)
at com.thed.service.impl.zie.AbstractImportManager.importAllFiles(AbstractImportManager.java:81)
at com.thed.zfj.rest.JiraService$.startImport(JIRAServiceImpl.scala:106)
at com.thed.zfj.ui.ImportSwingApp$BaseMappingImporter$$anon$32.call(ImportSwingApp.scala:457)
at com.thed.zfj.ui.ImportSwingApp$BaseMappingImporter$$anon$32.call(ImportSwingApp.scala:454)
at scala.actors.threadpool.FutureTask.run(FutureTask.java:178)
at scala.actors.threadpool.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1060)
at scala.actors.threadpool.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:574)
at java.lang.Thread.run(Unknown Source)
2017-08-29 11:56:46,354 DEBUG [ForkJoinPool-1-worker-9] ImportSwingApp$$anon$21.applyOrElse(214) | Tue Aug 29 11:56:46 CEST 2017 PruebasCargaJira.xlsx imported successfully..!

2017-08-29 11:56:46,354 DEBUG [ForkJoinPool-1-worker-9] ImportSwingApp$$anon$21.applyOrElse(214) | Tue Aug 29 11:56:46 CEST 2017 PruebasCargaJira.xlsx imported successfully..!

 

BTW, the custom definition for both fields is as follows:

"id":"customfield_10203","name":"Trazabilidad","custom":true,"orderable":true,"navigable":true,"searchable":true,"clauseNames":[],"schema":{"type":"array","items":"string","custom":"com.mizan.issuepicker:issue-picker-custom-field","customId":10203}
"id":"customfield_10400","name":"PROI","custom":true,"orderable":true,"navigable":true,"searchable":true,"clauseNames":["cf[10400]","PROI"],"schema":{"type":"array","items":"string","custom":"com.osoboo.jira-metadata-plugin:JIRA-Metadata-view-project-metadata-field","customId":10400}

Only when I remove both columns from the importer the test cases loads succesfully

 

Could you please help me sort this out?

 

Thanks a lot in advance

 

Oliver

 

2 answers

For some reason, the pictures were removed from my previous post

 

Captura.JPG

Hi Oliver

Thanks for your interest in Zephyr.By checking the initial description of your issue it seems one of your custom fields is an issue picker list type custom field which is not supported by our importer.

For further analysis we would require you to raise a ticket directly with Zephyr Support.

Also we would suggest in future also for faster resolutions on cases like these please contact our Zephyr support team (24 X 5) by raising a ticket with them.Login/Sign up to  our support site "https://support.getzephyr.com/hc/en-us" and use the option "Submit a case" to raise a ticket with us and one of our engineers would contact you immediately

Thanks

ZephyrSupport

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 14, 2018 in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

487 views 2 5
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