Convert table convert in confluence supported format for Storage representation using Automation

XMLWordPrintable

    • 2

      Using Jira Automation and Confluence Rest API, we can create a page in confluence and along with it pass along contents stored in Jira fields. 

      If the content is in a table format, there is no easy way to convert it into Confluence supported format so that when passed along rest api, displays correctly on Confluence side.

      While we have a solution in Confluence wiki format, we don't have one for Confluence Storage format. 

      Workaround : 

      Use this if it is okay for you to create page using wiki format;

      {
          "spaceId": 33320,
          "status": "current",
          "title": "{{issue.key}}",
          "body": {
              "wiki": {
                   "value": {{issue.description.asJsonString}},
                   "representation": "wiki"
              }
            }
      }  

            Assignee:
            Avinoam
            Reporter:
            Harsaranjeet Kaur
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: