I'm importing data from JIRA into a Google Doc. One of the fields would be the description, which is basically HTML text.
Is there any way to "add" this HTML text on a Google Doc? Or do I really have to parse it manually and create paragraphs, tables, etc.?
The HTML could look as follows:
<p>Hello There</p>
<table class='confluenceTable'>
<tbody>
<tr>
<th class='confluenceTh'> Name </th>
<th class='confluenceTh'> Hours </th>
<th class='confluenceTh'> Cost </th>
</tr>
<tr>
<td class='confluenceTd'> Some Person</td>
<td class='confluenceTd'> 1 </td>
<td class='confluenceTd'> CHF 1</td>
</tr>
</tbody>
</table>
Thanks for your hint - based on this I found the following post: https://ctrlq.org/code/20102-convert-office-files-to-google-docs (plus http://scraping.pro/automaticly-converting-files-google-app-script/ which tells how to enable Drive API).
The following function works pretty well for me:
I was able to create a new Doc with styled html content from the change mentioned in my comment in this post: