Can anyone help me to resolve this issue while importing the test cases in Jira using Zephyr importing tool

Hi,

For me , got the response as below while importing the test cases in Jira using Zephyr importing tool:

Fri Jun 20 12:48:28 IST 2014 file:///C:/Users/harish/Desktop/success/Callshop_Ver1.0.0_GUI-Test-cases.xls normalization success..!
Fri Jun 20 12:48:28 IST 2014 Unable to add testcase ending at rowNumber - 1. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:28 IST 2014 Unable to add testcase ending at rowNumber - 2. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:28 IST 2014 Unable to add testcase ending at rowNumber - 3. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:28 IST 2014 Unable to add testcase ending at rowNumber - 4. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:28 IST 2014 Unable to add testcase ending at rowNumber - 5. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:28 IST 2014 Unable to add testcase ending at rowNumber - 6. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:28 IST 2014 Unable to add testcase ending at rowNumber - 7. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:28 IST 2014 Unable to add testcase ending at rowNumber - 8. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:28 IST 2014 Unable to add testcase ending at rowNumber - 9. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:29 IST 2014 Unable to add testcase ending at rowNumber - 10. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:29 IST 2014 Unable to add testcase ending at rowNumber - 11. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:29 IST 2014 Unable to add testcase ending at rowNumber - 12. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:29 IST 2014 Unable to add testcase ending at rowNumber - 13. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:29 IST 2014 Unable to add testcase ending at rowNumber - 14. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:30 IST 2014 Unable to add testcase ending at rowNumber - 15. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:30 IST 2014 Unable to add testcase ending at rowNumber - 16. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:30 IST 2014 Unable to add testcase ending at rowNumber - 17. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:31 IST 2014 Unable to add testcase ending at rowNumber - 29. Error:Unexpected response code: 400
{"errorMessages":[],"errors":{"versions":"Affects Version/s is required.","description":"Description is required.","duedate":"Due Date is required.","components":"Component/s is required.","fixVersions":"Fix Version/s is required."}}
Fri Jun 20 12:48:31 IST 2014 Callshop_Ver1.0.0_GUI-Test-cases.xls imported successfully..!

Can anyone please help me to resolve this issue...

Thanks in Advance.

Sri...

2 answers

1 accepted

0 vote

It's actually quite simple - the project you are trying to import the data into has required fields, and you have not provided those fields.

I think you need to take a closer look at the spreadsheet you are importing and make sure it has all the required fields mapped correctly.

I've mapped all the required fileds with respect to the spreadsheet with which I want to import in JIRA. Please find the screenshot as below:

I've one more doubt, can we have Due Date as a field in Zephyr importing tool...???

As I observed in my errors, same is getting displayed ragarding Due Date as:

"duedate":"Due Date is required."

can you also please clarify the same.

Thanks in advance.

Ok, so the mappings are probably ok. That implies your data is missing the fields in some lines you are trying to import.

HOwever, as the errors are consistent, I'd check that your sheet doesn't simply have a load of empty lines!

For due date, you'll need to add a column for it, or make it optional in the Jira project

Thanks Nic.

I've actually given Version as Mandatory which is not present in Zephyr tool. That's why I used to get these issues, now I've given it as an optional and able to import test cases using Zephyr.

Thanks again for your help.

Thanks Nic.

I've actually given Version as Mandatory which is not present in Zephyr tool. That's why I used to get these issues, now I've given it as an optional and able to import test cases using Zephyr.

Thanks again for your help.

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 yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

58 views 0 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