Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-20221

Development info on issue cards raises error if the login user doesn't have "View Development Tools" permission

    XMLWordPrintable

Details

    Description

      Summary

      Development info on issue cards on agile board introduced in 8.1.x raises error if the login user doesn't have "View Development Tools" permission.

      This is apparently because of JSWSERVER-14858. Internally the board is sending requests to /rest/dev-status/1.0/issue/summary?issueId=undefined ending up with 400 bad request.

      Environment

      • Jira Software 8.2 environment with dev-tools integration
      • Logged in with any user that doesn't have "View Development Tools" permission.

      Steps to Reproduce

      1. On a freshly installed jira Software 8.2 instance, create an Agile Board (Kanban or Scrum doesn't matter)
      2. Configure the card to display development information based on
        https://confluence.atlassian.com/jirasoftware/jira-software-8-1-x-release-notes-966669112.html#JiraSoftware8.1.xreleasenotes-devinfo
      3. Populate the Agile project with a few issues
      4. Login the user that doesn't have "View Development Tools" permission as described above.

      Expected Results

      Development information isn't present.

      Actual Results

      The card raises error. "An error occurred whilst rendering this message....."

      Internally the board raises following error for the request to /rest/dev-status/1.0/issue/summary?issueId=undefined

      {"errorMessages":["An invalid ID was provided: 'undefined'"],"errors":{}}
      

      Workaround

      Add "View Development Tools" permission to the user.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nmukai Nobuyuki Mukai
              Votes:
              11 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated: