Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-76063

Table column width information is not available through version 2 of the REST API

    XMLWordPrintable

    Details

      Description

      Issue Summary

      Tables widths can be resized, but this information is not available through version 2 of the REST API.

      Steps to Reproduce

      1. Create an issue where the description contains a table and the columns are of different widths.
      2. Call https://mytenant.atlassian.net/rest/api/3/issue/\{issueKey}?expand=renderedFields.
      3. Call https://mytenant.atlassian.net/rest/api/2/issue/\{issueKey}?expand=renderedFields.

      Expected Results

      The table markup returned at step 3 provides the widths of the table.

      Actual Results

      The table markup returned at step 3 does not provide the widths of the table.

      Workaround

      It is not feasible to use the table column width information returned in the Atlassian Document Format (ADF) returned at step 2 because Atlassian does not yet provide a library or spec making it feasible for apps to parse ADF. In addition, version 3 of the API is still in beta.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dmorrow@atlassian.com Dugald Morrow
            Votes:
            8 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: