Improve error message when failing to change order of sub-tasks on TMP due to lack of access

XMLWordPrintable

    • 2

      Issue Summary

      When trying to change the order of sub-tasks and missing the access to do so, a generic message is shown:

      Steps to Reproduce

      1. Have a TMP project with limited access
      2. Without permission to order issues, attempt to reorder sub-tasks

      Expected Results

      When moving items on the board, a more clear message is shown:

      In this case, a transition call is made, with the rank parameters and clear response is provided on Dev Tools.

      {"errorMessages":["You do not have permission to rank issue 'ABC-123' [ID: XXXX]. To rank an issue, you must have the schedule permission on that issue."],"errors":{}}

       

      Actual Results

      The below message is shown instead:

      In this case, a Rank call is made. The response is empty, and the error doesn't provide much info.

      event: {message: "Fetch call failed with status code: 401",…}logTime: "XXXXX"message: "Failed to reorder children"sentFrom: "jira.frontend.issue.views.common.child-issues-panel.reorder-children"

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Lukas Lampert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: