Copy REST API returns 504 for pages with many attachments

XMLWordPrintable

    • 14
    • Severity 3 - Minor
    • 3

      Issue Summary

      Wrong API response for /copy REST API.

      Steps to Reproduce

      1. create a page with 1000 attachments.
      1. call below REST API
      https://YOUR_SITE.atlassian.net/wiki/rest/api/content/PAGE_ID_WITH_1000_ATTACHEMNTS/copy
      body:
      {
        "copyAttachments": true,
      	"destination": {
          "type": "parent_page",
          "value": "PAGE_ID_WITH_1000_ATTACHEMNTS"
        },
        "pageTitle": "copy_test"
      }
       

       

      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:
            Aniruddha Kakade
            Reporter:
            Damian Kleszcz
            Votes:
            62 Vote for this issue
            Watchers:
            46 Start watching this issue

              Created:
              Updated:
              Resolved: