I have data in a CSV. I would like to save the columns "Steps" that is a JSON string to a separate CSV file. Also the "Attachments" key is array of strings. I have not been successful. I've include the content of the CSV file
Summary,Description,Steps,PreCondition1,PreCondition2,Issue key,Issue id
Summary Data,Description data,"[{""id"": 5495,""index"": 1,""step"": ""Data steps"",""data"": ""Data 1"",""result"": ""Data results 1"",""attachments"": [""Test""]},{""id"": 5496,""index"": 2,""step"": ""Data steps 2"",""data"": ""Data 2"",""result"": ""Data results 2"",""attachments"": []},{""id"": 5497,""index"": 3,""step"": ""Data steps 3"",""data"": ""Data 3"",""result"": ""Data results 3"",""attachments"": []},{""id"": 5498,""index"": 4,""step"": ""Data steps 4"",""data"": ""Data 4"",""result"": ""Data results 4"",""attachments"": []},{""id"": 5499,""index"": 5,""step"": ""Data steps 5"",""data"": ""Data 5"",""result"": ""Data results "",""attachments"": []}]",Data pre-condition1,Data pre-condition2,XXXX-1,17607
Expected results:
id,index,step,data, result,attachments
5495,1,Data steps,Data 1,Data results 1,Test