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

            [CONFCLOUD-75318] Copy REST API returns 504 for pages with many attachments

            SET Analytics Bot made changes -
            UIS Original: 3 New: 2
            SET Analytics Bot made changes -
            UIS Original: 2 New: 3

            Amitab added a comment -

            Since Confluence lacks a native translation tool, this has become a major issue for us. The high number of attachments poses a significant limitation with every translation tool we've attempted to use.

            Amitab added a comment - Since Confluence lacks a native translation tool, this has become a major issue for us. The high number of attachments poses a significant limitation with every translation tool we've attempted to use.
            SET Analytics Bot made changes -
            UIS Original: 3 New: 2
            SET Analytics Bot made changes -
            UIS Original: 4 New: 3
            Nicholas Reichert made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 980236 ]
            SET Analytics Bot made changes -
            Support reference count Original: 12 New: 13
            SET Analytics Bot made changes -
            UIS Original: 3 New: 4
            SET Analytics Bot made changes -
            UIS Original: 4 New: 3
            SET Analytics Bot made changes -
            UIS Original: 5 New: 4

              Unassigned Unassigned
              7af4c19cf335 Damian Kleszcz
              Affected customers:
              61 This affects my team
              Watchers:
              44 Start watching this issue

                Created:
                Updated: