Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Importing to Insight to include Comments.

CHARLES J PIKE
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 26, 2021

We are migrating data from a DB in to Insight and would also like to be able to import the comments from the original information to the Comments in the Objects. Importing a CSV doesn't seem to provide this functionality, but is it possible via a JSON import, and if so, any example would be appreciated. Or any other suggestion.

1 answer

0 votes
PD Sheehan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 10, 2021

I've only ever imported from CSV or Database sources.

I can't imagine how JSON Import would work for comments. How does the mapping work?

But if I was in your situation, I'd probably create all the objects first, then use the groovy console to import the comments as a second pass.

Basically, the script would read the comment csv, find the corresponding object (created in the prior pass) then add all the comments for the object.

Suggest an answer

Log in or Sign up to answer