Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.3.2, 7.3.3, 7.9.2, 7.8.4, 7.13.1
-
None
-
7.03
-
22
-
Severity 2 - Major
-
8
-
Description
Summary
When checking a Confluence task from the JIRA Dashboard, it will display an error:
401Client must be authenticated to access this resource.
Environment
(Optional - If Applicable)
- JIRA and Confluence should be application linked together using OAuth with or without impersonations.
Steps to Reproduce
- Have a JIRA and Confluence instance that are linked to each other with "Application Links" -> Oath with impersonation
- Create some Confluence tasks that are assigned to you with the
- Create an overview of these tasks by creating a new confluence page and adding the macro "Task Report" (Called "My task overview" for reference here). Configure this report to only show tasks that are assigned to you. Note that this report displays the correct issues
- Create a JIRA dashboard and add the gadget "Confluence Page Gadget" . Try to add the space where you created the "My task overview" page -> a screen pops up (login and approve) to ask for permission to create the linking (Oath Acces token). After that search and find and add the space and page "My Task overview"
- The gadget loads -> the tasks are displayed like they are on the Confluence page
- Try to check a task for completion -> an error appears "401Client must be authenticated to access this resource." with a progress bar that keeps loading
Expected Results
The task should be checked off
Actual Results
- An error appears "401Client must be authenticated to access this resource" with a progress bar that keeps loading
- Refresh the JIRA dashboard page -> the gadget shows the confluence page as before, no tasks are checked off.
Notes
The console shows the following reponse:
throw 1; < don't be evil' >\{"http://localhost:8092/rest/inlinetasks/1/task/2850818/7/?cacheBuster=1492604819757":\{"rc":401,"headers":\{"x-seraph-trusted-app-status":["ERROR"]},"body":"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><status><status-code>401<\/status-code><message>Client must be authenticated to access this resource.<\/message><\/status>"}}
Workaround
Check the tasks directly on Confluence