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

Sprint in openSprints() throws error because no Browse Project permission

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Software Server. Using JIRA Software Cloud? See the corresponding bug report.

      No issues are assigned to a sprint with id 120
      No issues are assigned to a sprint with id 132
      No issues are assigned to a sprint with id 2

      An error will be thrown as above if user is trying to search using openSprints() query even if the user has specified the particular project that he/she has permission to browse.

      Steps to reproduce

      1. Create a project A
      2. Create Scrum 1 for Project A
      3. Create two users where has the following
        • User 1 has permission to Project A
        • User 2 has no permission to Project A
      4. Create issues in Scrum 1 and include them in Sprint 1
      5. Login as User 1 and search for Sprint in openSprints() in Issue Navigator and you will be able to see the issues
      6. Login as User 2 and search for Sprint in openSprints() in Issue Navigator and you will be able to see the following error
        No issues are assigned to a sprint with id 1

      Expected behaviour

      The error should not be there and should just show that there is no issues found on the query.

      Extra info

      The bug is only in GreenHopper 6.1.3.1. Tested in GreenHopper 6.0.8 and 6.1.2, the error does not persist.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              znoorsazali Zul NS [Atlassian]
              Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: