Remotelink to Confluence Space created with REST API fails to load

Hi,

I created a remote link using the REST API.  I can see the link like expected in the Issue Links. However, it says "Failed to load" but the link still works when I click on it.  Auswahl_009.png

If I edit the Confluence page and create a link to an Jira issue, the link loads without any problems. 

Here is what the log says:

Aug 07 16:39:39 jiraapp01 docker[643]: 2017-08-07 16:39:39,227 http-nio-8080-exec-39 ERROR admin 999x921014x1 15qz5n4 10.0.xx.xx,10.0.xx.xx /rest/viewIssue/1/remoteIssueLink/render/10804 [c.a.j.p.v.issuelink.rest.RemoteIssueLinkResource] Error occurred while generating final HTML for remote issue link: java.lang.RuntimeException: java.io.IOException: Failed to load Confluence Page from remote server Caused by: java.io.IOException: Failed to load Confluence Page from remote server Caused by: com.atlassian.sal.api.net.ResponseException: Status Code: 200, Status Text: OK, Errors: {}, Error Messages: [java.lang.Exception: com.atlassian.confluence.rpc.RemoteException: You're not allowed to view that page, or it does not exist.]

So the strange thing here is:

* The user "admin", which is the one who visited the jira issue with the broken link, exists and has the permissions to view the page in Confluence.

* The Application link is set up and works with OAuth (impersonation). Should therefore the user account be used to check if he has permissions to view the Confluence page?

Confluence v6.1.3

Jira 7.3.1

 

Thanks, br

Kai

1 answer

This widget could not be displayed.
Tarun Sapra Community Champion Aug 09, 2017

This might be because of this issue - https://jira.atlassian.com/browse/JRASERVER-63769

Hi Tarun,

I already know this issue but I don't get a ClassCastException as you can see in my log snippet.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

169 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you