Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONF-5536

Space export created by remote API is different to that created using web UI

    Details

    • Last commented by user?:
      true
    • Internal Complexity:
      3
    • Internal Value:
      3

      Description

      The export zip file created when calling the exportSpace() remote API method with 'TYPE_XML' is different to doing a full XML export from the web UI.

      Perhaps the options used to generate the export remotely are different to those used by the web action. This should be fixed so that they are the same.

        Attachments

          Issue Links

            Activity

            Hide
            alwang Alice Wang [Atlassian] added a comment -

            Hi Marc Guenther, the exportAll option has existed in the API since at least Confluence 3.0 but it was just poorly documented.
            In regards to exporting large spaces, I found this issue which is similar to what you described. Could you please take a look and see if it addresses your concerns? If so, please watch that issue instead of this one.

            Bob Swift [Bob Swift Atlassian Add-ons] PDF export all should be the same but with export type set to "TYPE_PDF".

            Regards,
            Alice

            Show
            alwang Alice Wang [Atlassian] added a comment - Hi Marc Guenther , the exportAll option has existed in the API since at least Confluence 3.0 but it was just poorly documented. In regards to exporting large spaces, I found this issue which is similar to what you described. Could you please take a look and see if it addresses your concerns? If so, please watch that issue instead of this one. Bob Swift [Bob Swift Atlassian Add-ons] PDF export all should be the same but with export type set to "TYPE_PDF". Regards, Alice
            Hide
            bob.swift@charter.net Bob Swift [Bob Swift Atlassian Add-ons] added a comment - - edited

            There is no exportAll parameter on the PDF export API - https://developer.atlassian.com/display/CONFDEV/Remote+API+Specification+for+PDF+Export
            It has been a separate API for some time.

            Show
            bob.swift@charter.net Bob Swift [Bob Swift Atlassian Add-ons] added a comment - - edited There is no exportAll parameter on the PDF export API - https://developer.atlassian.com/display/CONFDEV/Remote+API+Specification+for+PDF+Export It has been a separate API for some time.
            Hide
            psemeniuk Petro Semeniuk [Atlassian] added a comment -

            Bob Swift [Bob Swift Atlassian Add-ons] are you ok if we close this issue(since it was about xml export) as resolved and open another one for pdf export?

            Show
            psemeniuk Petro Semeniuk [Atlassian] added a comment - Bob Swift [Bob Swift Atlassian Add-ons] are you ok if we close this issue(since it was about xml export) as resolved and open another one for pdf export?
            Hide
            bob.swift@charter.net Bob Swift [Bob Swift Atlassian Add-ons] added a comment -

            Yes, that would be fine.

            Show
            bob.swift@charter.net Bob Swift [Bob Swift Atlassian Add-ons] added a comment - Yes, that would be fine.
            Hide
            psemeniuk Petro Semeniuk [Atlassian] added a comment - - edited
            Show
            psemeniuk Petro Semeniuk [Atlassian] added a comment - - edited Bob Swift [Bob Swift Atlassian Add-ons] thanks, we've created https://jira.atlassian.com/browse/CONF-31584 to track pdf api change.

              People

              • Votes:
                9 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  2 years, 28 weeks, 3 days ago