I get JIRA Ticket comments and save it in Comments Variable type (Text_data).
It contains a table which i need to extract.
The table looks like this in Text_data after extracting the BODY
I am trying to use the names as header and the information stored in each variable in datatable.
I am not getting rid of
| | | | | |
| | | | | |
| | | | | |
| | | | | |"
as well as the names are not taken as header column names.
Can anyone help to extract the info to save it in the datatable.
Thanks
Use Add Datarow activity and pass this value in that {columns.ElementAtOrDefault(0), columns.ElementAtOrDefault(1), columns.ElementAtOrDefault(2), columns.ElementAtOrDefault(3), columns.ElementAtOrDefault(4)}
Once your output table is ready you can remove row at index 0 using the Remove Row activity as that row contains the name of the columns as it was coming in the raw text.