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

openSprints() JQL returns error if no open sprints exist

XMLWordPrintable

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

      Summary

      When a non administrator user attempts to display sprints using the openSprints() JQL, they display the error as per the attached screenshot.

      Environment

      • JIRA 5.2.10
      • OS X 10.7.5
      • PostgreSQL 9.1

      Steps to Reproduce

      1. Create a new sprint.
      2. Add issues to it.
      3. Delete those issues.
      4. Attempt to view the sprint using a user that does not have the Administrator Global Permission, for example:
        project = JRA and Sprint in opensprints()
        

        This can be reproduced here with https://jira.atlassian.com/issues/?jql=project%20%3D%20JRA%20and%20Sprint%20in%20opensprints()

      Expected Results

      There is no error presented to the user.

      Actual Results

      The user will receive the error as per the attached screenshot and below:

      Sprint with id 104 does not exist or you do not have permission to view it.

      Notes

      Similar to GHS-7659.

              mtokar Michael Tokar
              dcurrie@atlassian.com Dave C
              Votes:
              12 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: