Copy page with attachments timing out when using type": "existing_page"

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • Component/s: Page - Copy
    • None
    • Severity 3 - Minor

      Issue Summary

      Wrong API response for /copy REST API.

      Steps to Reproduce

      1. Create a page with between 100 and 500 attachments.
      1. call below REST API
      https://YOUR_SITE.atlassian.net/wiki/rest/api/content/PAGE_ID_WITH_100_ATTACHEMNTS/copy
      body:
      {
        "copyAttachments": true,
        "copyCustomContents": false,
        "copyLabels": true,
        "copyProperties": false,
        "destination": {
          "type": "existing_page",
          "value": "<Destination ID>"
        }
      }  

       

      Expected Results

      Page copied and API should return 200.
       

      Actual Results

      Page copied and API returns 504.

      Workaround

      Use /pagehierarchy/copy instead of /copy

              Assignee:
              Unassigned
              Reporter:
              Winderson Souza
              Votes:
              20 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: