Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-70065

Search does not work for Confluence Cloud Application Link

XMLWordPrintable

      Issue Summary

      When trying to manually link a Jira issue to a Confluence Cloud page, the search function does not work. Returns 501

      Environment

      • Jira Server 8.3.1
      • Confluence Cloud

      Steps to Reproduce

      1. Set up application link between a Jira server instance and a Confluence Cloud instance
      2. Create an issue in Jira
      3. Try to link the issue to a Confluence Cloud page using the "Search for a page" function to find the page

      Expected Results

      • Able to search for pages/contents on linked Confluence Cloud instance

      Actual Results

      • Gets error:
        Unable to gather information from the selected Confluence instance.

      HTTP log from enabling DEBUG logging for org.apache.http:

      2019-10-04 13:46:37,322 http-nio-8080-exec-7 DEBUG admin 826x4177x1 1yt94f8 185.48.102.19,172.18.0.1 /rest/confluenceIssueLink/1/confluence/space [o.apache.http.wire] http-outgoing-921 >> "POST /wiki/rpc/xmlrpc HTTP/1.1[\r][\n]"
      2019-10-04 13:46:37,323 http-nio-8080-exec-7 DEBUG admin 826x4177x1 1yt94f8 185.48.102.19,172.18.0.1 /rest/confluenceIssueLink/1/confluence/space [o.apache.http.wire] http-outgoing-921 >> "Authorization: OAuth oauth_token="XK7z6DntNFeeq8hNQxc6NvX06xwYqZWR", oauth_consumer_key="jira%3Aa373e59c-b092-45cb-949f-8681b747ffad", oauth_signature_method="RSA-SHA1", oauth_timestamp="1570196797", oauth_nonce="64d57a5e-8cfb-4904-847a-6c5745313e26_47785431379237", oauth_version="1.0", oauth_signature="DLHelMkgZTaH58X27hjudjescz%2F79vrp21oZu%2BGZKeRzn3pfNlyS1%2FIH3GS2Hvy3ofiAXALGYQuQBqw5LolTOjvoXyMK5MFlbHzS9Q0sUkpPw%2Blzi%2FDLALRA42wPSC0VaSj6E1U32DB6E%2FcSP6ZYk13MeXnDpiiOj7U9CU986gM%3D"[\r][\n]"
      2019-10-04 13:46:37,323 http-nio-8080-exec-7 DEBUG admin 826x4177x1 1yt94f8 185.48.102.19,172.18.0.1 /rest/confluenceIssueLink/1/confluence/space [o.apache.http.wire] http-outgoing-921 >> "Content-Length: 132[\r][\n]"
      2019-10-04 13:46:37,323 http-nio-8080-exec-7 DEBUG admin 826x4177x1 1yt94f8 185.48.102.19,172.18.0.1 /rest/confluenceIssueLink/1/confluence/space [o.apache.http.wire] http-outgoing-921 >> "Content-Type: application/xml; charset=UTF-8[\r][\n]"
      2019-10-04 13:46:37,323 http-nio-8080-exec-7 DEBUG admin 826x4177x1 1yt94f8 185.48.102.19,172.18.0.1 /rest/confluenceIssueLink/1/confluence/space [o.apache.http.wire] http-outgoing-921 >> "Host: kenny-test.atlassian.net[\r][\n]"
      2019-10-04 13:46:37,323 http-nio-8080-exec-7 DEBUG admin 826x4177x1 1yt94f8 185.48.102.19,172.18.0.1 /rest/confluenceIssueLink/1/confluence/space [o.apache.http.wire] http-outgoing-921 >> "Connection: Keep-Alive[\r][\n]"
      2019-10-04 13:46:37,323 http-nio-8080-exec-7 DEBUG admin 826x4177x1 1yt94f8 185.48.102.19,172.18.0.1 /rest/confluenceIssueLink/1/confluence/space [o.apache.http.wire] http-outgoing-921 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_222)[\r][\n]"
      2019-10-04 13:46:37,323 http-nio-8080-exec-7 DEBUG admin 826x4177x1 1yt94f8 185.48.102.19,172.18.0.1 /rest/confluenceIssueLink/1/confluence/space [o.apache.http.wire] http-outgoing-921 >> "Accept-Encoding: gzip,deflate[\r][\n]"
      2019-10-04 13:46:37,323 http-nio-8080-exec-7 DEBUG admin 826x4177x1 1yt94f8 185.48.102.19,172.18.0.1 /rest/confluenceIssueLink/1/confluence/space [o.apache.http.wire] http-outgoing-921 >> "[\r][\n]"
      2019-10-04 13:46:37,323 http-nio-8080-exec-7 DEBUG admin 826x4177x1 1yt94f8 185.48.102.19,172.18.0.1 /rest/confluenceIssueLink/1/confluence/space [o.apache.http.wire] http-outgoing-921 >> "<?xml version="1.0"?><method><methodName>confluence2.getSpaces</methodName><params><param><value></value></param></params></method >"
      2019-10-04 13:46:37,398 http-nio-8080-exec-7 DEBUG admin 826x4177x1 1yt94f8 185.48.102.19,172.18.0.1 /rest/confluenceIssueLink/1/confluence/space [o.apache.http.wire] http-outgoing-921 << "HTTP/1.1 501 Not Implemented[\r][\n]"
      2019-10-04 13:46:37,398 http-nio-8080-exec-7 DEBUG admin 826x4177x1 1yt94f8 185.48.102.19,172.18.0.1 /rest/confluenceIssueLink/1/confluence/space [o.apache.http.wire] http-outgoing-921 << "Server: AtlassianProxy/1.15.8.1[\r][\n]"
      2019-10-04 13:46:37,398 http-nio-8080-exec-7 DEBUG admin 826x4177x1 1yt94f8 185.48.102.19,172.18.0.1 /rest/confluenceIssueLink/1/confluence/space [o.apache.http.wire] http-outgoing-921 << "Content-Type: text/html;charset=utf-8[\r][\n]"
      

      Notes

      • Removal

        Confluence’s SOAP, JSON-RPC and XML-RPC APIs were deprecated ... While they continue to work today, Confluence Cloud will be officially removing these APIs as of March 29th, 2019.

        from confluence-cloud soap-api migration

      It looks like the search function uses RPC which is deprecated/not supported on Confluence Cloud. Maybe time to switch to using REST for search instead?

      Workaround

      Paste the link to the Confluence Cloud page directly using the "Web Link" option instead of using the search function. No workaround if you wish to use search.

              Unassigned Unassigned
              klim@atlassian.com Kenny Lim (Inactive)
              Votes:
              53 Vote for this issue
              Watchers:
              56 Start watching this issue

                Created:
                Updated: