-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
8.3.1, 8.4.1, 7.13.8, 8.13.4, 9.4.6, 9.4.9, 8.20.28, 9.4.15
-
7.13
-
52
-
Severity 2 - Major
-
39
-
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
- Set up application link between a Jira server instance and a Confluence Cloud instance
- Create an issue in Jira
- 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
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
- Deprication notice:
The XML-RPC and SOAP APIs are deprecated since Confluence 5.5, and may not work as expected.
- 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.
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.
- duplicates
-
JRASERVER-69888 Not possible to search for Confluence Cloud spaces when linking Confluence page from Jira issue
- Gathering Impact
- is related to
-
JRASERVER-61128 JIRA should use REST API to search Confluence pages and Link Jira Issues
- Gathering Impact
-
JRASERVER-64357 Use Confluence's REST API to search for and filter spaces
- Gathering Interest
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...