Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Insight, error importing objects without key defined in csv file

Rafael Tejero Palma May 7, 2021

Hello everyone
Thanks in advance for your help. I hope to solve this problem with your support. After reviewing insight documentation and consulting in the community I can't find a solution to this behavior.
We are trying to import a csv file with three objects into insight. The file looks like:

Key,Reference,Created,Updated,Customer Reference,Contract type,Status,Contract start date,Contract end date,Account Manager,Warranty,Total time
,00022016,,,Wayne Enterprises,Standard,Active,04/02/2021,04/02/2022,Mike,false,3600
,00052015,,,Initech,Total,Active,20/09/2020,20/09/2021,Charly,true,18000
,00082013,,,Duff,Standard,Active,03/03/2021,02/03/2022,Hans,false,36000

These objects do not exist in insight and for this reason we leave the Key field without values. The result is that only one object is imported and, moreover, it does it incorrectly: it mixes information from the other objects:

Resultado import sin key 2.png

I also don't understand how you have interpreted the dates: Contract start and end dates

But, if we include any value in the Key field, the import is correct.

Key,Reference,Created,Updated,Customer Reference,Contract type,Status,Contract start date,Contract end date,Account Manager,Warranty,Total time
1,00022016,,,Wayne Enterprises,Standard,Active,04/02/2021,04/02/2022,Mike,false,3600
2,00052015,,,Initech,Total,Active,20/09/2020,20/09/2021,Charly,true,18000
3,00082013,,,Duff,Standard,Active,03/03/2021,02/03/2022,Hans,false,36000

Resultado import con key 2.png

This is my config:

contract config import.png

 

can you help me to find where is the error?
We have recreated the file from scratch without using an export from Microsoft Excel.
Thank you very much!!

Rafa.

2 answers

1 accepted

1 vote
Answer accepted
Hakan Bahadir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 7, 2021

Hello,

Please remove the Key column and try again.

(I am guessing you are referring to the Insight Cloud Application documentation mentioning the key as mandatory.)

New JSM/Insight Premium documentation for CSV the import can be found here.  

I hope that helps.

Best Regards,

Hakan Bahadir

Rafael Tejero Palma May 7, 2021

Thanks for your help Hakan!
I missed that detail in the documentation. It works correctly.

Regards.

Rafa.

0 votes
Ajaygoud Gaddam March 16, 2022

HI @Hakan Bahadir ,

we are are trying to import CSV in Insight. After starting the import it was freezes after sometime. it not completing the process. if we close the process there all the attributes are imported and they are not able to edit the objects. Is there any work around for this.

Used same configuration as above user.

Please let me know if anything more info needed.

Thanks,

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events