Import issue from CSV, validate warning: Not a valid JSON object ???

Ayman Osama October 13, 2024

 

 

When import issue from CSV, the validation process has found 1 error/s: 

  • Issue can't be created due to the error/s [ Not a valid JSON object ]   

and the detailed log  

my import file is CSV 

how to solve this error ?Validate.PNGLOG.PNG

1 answer

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 13, 2024

Hi Ayman - Welcome to the Atlassian Community!

What are the values in your CSV fields? What columns are you using and what are the values in those columns? 

Ayman Osama October 13, 2024

Hi John - Thanks for your replay 

there is screenshots clarify the fields, values and map fields on jira in CSV (all these columns I use to import to the issue ) 

 

CSV 1.PNG

CSV (2).PNG

SYS 1.PNG

Sys 2.PNG

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 13, 2024

Are you trying to create issues or update issues? 

Why do you have Jira keys in the summary field? I think you would  need to take those values out. . 

Ayman Osama October 13, 2024

I want to create New issues not update issues 

I use Jira keys to link the issue with issue in another project ( when i use link issues field there is error appear )

Link error.PNG

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 13, 2024

I would take that out of the summary and try it. You only have 3 issues being created so you can link them manually after the fact. 

Ayman Osama October 14, 2024

No I have thousands of issues to create I just import this 3 issues to try  , I triad to import with removing the key from summary and the same error appear , is there any way to solve that error (Issue can't be created due to the error/s [ Not a valid JSON object ])

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 14, 2024

This is a different problem. Are you trying to link the issues when you import them? I don't see you mapping that field above. 

Also, what type of issue type is Unit - is it a sub-task issue type? Or a level 0 like task or story?

Ayman Osama October 14, 2024

Sorry john for being late in my replay.

yes sure i am trying to link issues with map field , shown in screenshot below 

Unit is an issue type in my project and i have another 2 issue types 

Link Field.PNG

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 15, 2024

But is the Unit a sub-task issue type (level -1) or at the same level as say Task (level 0)?

Suggest an answer

Log in or Sign up to answer