Can not load Release Burnup Burndown Chart getting 403 error

Issue #47 resolved
Paul Mathieson created an issue

When loading gadget getting 2 errors:

Great Gadgets addon processing error

Something went wrong while processing your request. The action you were trying to execute could not be completed successfully. The server returned: Received http error code 403. Access to /rest/agile/1.0/board is forbidden. The id of this error is: 21683866695445874
Great Gadgets addon processing error

Something went wrong while processing your request. The action you were trying to execute could not be completed successfully. The server returned: Received http error code 403. Access to /rest/agile/1.0/board/-2/configuration is forbidden. The id of this error is: 21683866128144436

I have tested both links direct can see the list of the boards for first link
Second link I get error:

{"errorMessages":[],"errors":{"rapidViewId":"The requested board cannot be viewed because it either does not exist or you do not have permission to view it."}}

I have confirmed with Jira admin and no one can see this link so Unsure what to do.

I have disabled and re-enabled the plugin.

This was working when first installed on Friday but no longer working now.

Other gadgets seem to still be working thou

Comments (13)

  1. Danut M [StonikByte] repo owner

    Hi Paul,

    Thanks for posting.

    The second link does not work because it tries to get the configuration of an Agile board that has ID = -2, which is definitely wrong.

    /rest/agile/1.0/board/-2/configuration

    Can you please check in the gadget’s settings if a board is still selected?

    Please also attach a screenshot with the settings of that gadget.

    Thank you,

    Danut Manda

  2. Danut M [StonikByte] repo owner

    It appears that the add-on fails to obtain the list of Agile boards from Jira.

    The add-on makes a call to Jira’s REST API /rest/agile/1.0/board to get the all the agile boards, but by any reason Jira responds with error code 403.

    According to Atlassian’s documentation (see https://developer.atlassian.com/cloud/jira/software/rest/#api-rest-agile-1-0-board-get) the 403 error code is “Returned if the user does not have valid license.

    When you install an add-on, Jira creates a corresponding ‘user’ who is assigned to the atlassian-addons-project-access role in each project. The Great Gadgets app makes this API call on behalf of its user account but it gets this as a response:

    Received http error code 403 for accessing url https://???.atlassian.net/rest/agile/1.0/board? - The server responded:

    "errorMessages":
    "You currently don't have access to perform this operation."
    "errors":
    

    Can you please ask your Jira admins if they adjusted the rights or group membership for the Great G account? Also please check if your project permission schemes allows Browse Project and Manage Sprints permissions for the atlassian-addons-project-access role.

    Also, could you please check if this error occurs if you are logged with another user? Please ask a Jira Admin to try configure the gadget with his account.

    Thank you,

    Danut Manda

  3. Paul Mathieson reporter

    Thanks I have raised this with our Jira Admin and will confirm once they have checked

  4. Paul Mathieson reporter

    Hi Danut

    I have now worked with our Jira admin and can confirm that the user atlassian-addons-project-access does have access to Browse Project and Manage Sprints permissions this has been granted in the default permission group.

    We also reviewed the setup but from what we can tell Jira cloud wont allow us to change the user the gadget uses

    is there anything else we can check to resolves this?

    Thanks

  5. Danut M [StonikByte] repo owner

    Hi Paul,

    Thanks for checking.

    We have to start some advanced troubleshooting. Because some info might be a bit sensitive, please contact us over e-mail at support@stonikbyte.com. Our support team will then guide you with the next steps.

    Thank you,

    Danut Manda

  6. Danut M [StonikByte] repo owner

    Closing ticket. The issue proved to be caused by a defect. A fix was made and deployed.

  7. Sergiy Siroukh

    Hello! I still have absolutely the same issue. I have trial Great Gadgets for Jira Cloud version 1.1.29-AC instlalled. All was working fine, I was going to buy licences…

  8. Log in to comment